Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37594960
en ru br
Репозитории ALT
5.1: 0.8.4-alt1
4.1: 0.6.6-alt1
4.0: 0.3.6-alt2
3.0: 0.3.5-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: swfdec

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define gtk_ver_major 2.10
%define gtk_binary_ver %gtk_ver_major.0

%def_disable static

Name: swfdec
Version: 0.6.6
Release: alt1

Summary: Flash animations rendering library
Group: System/Libraries
License: LGPL
Url: http://www.schleef.org/swfdec/
Packager: Damir Shayhutdinov <damir at altlinux.ru>

%define gst_ver 0.10

#Requires: gstreamer >= %gst_ver


Source: http://swfdec.sourceforge.net/download/%name-%version.tar.gz

BuildRequires: fontconfig glibc-devel-static
#BuildRequires: gst-plugins-devel
BuildRequires: imake libmad-devel liboil-devel libxml2-devel
BuildRequires: libXt-devel
#BuildRequires: mozilla-devel
BuildRequires: xorg-cf-files zlib-devel libsoup2.4-devel
BuildRequires: libalsa-devel libavcodec-devel libswscale-devel gnome-vfs-devel

#BuildRequires: gstreamer-devel >= %gst_ver

BuildRequires: libgtk+2-devel >= %gtk_binary_ver

%description
Libswfdec is a decoder/renderer library for Macromedia Flash animations.
Currently it handles mostFlash 3 animations and some Flash 4.
No interactivity is supported yet.

%package -n lib%name
Summary: swfdec shared library
Group: System/Libraries

%description -n lib%name
Libswfdec is a decoder/renderer library for Macromedia Flash animations.
Currently it handles mostFlash 3 animations and some Flash 4. No
interactivity is supported yet.

%package -n lib%name-devel
Summary: swfdec development files and libraries
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package contains the files needed to build packages that depend on
swfdec.

%package -n lib%name-devel-static
Summary: swfdec static libraries
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
This package contains the libraries needed to build applications
statically linked with swfdec.

%prep
%setup -q

%build
autoreconf -isfv
%add_optflags -I%_includedir/mozilla/js
%configure \
   %{subst_enable static} \
   --enable-pixbuf-loader \
   --enable-ffmpeg --disable-gstreamer

# non-parallel build

%make_build

%install
%make_install DESTDIR=%buildroot install

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig


%files -n lib%name
%_libdir/*.so.*
%doc AUTHORS NEWS README

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/libswfdec.a
%_libdir/mozilla/plugins/libmozswfdec.a
%endif


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin