SPECS: swfdec.spec - separated libswfdec-gtk (and its -devel, -stat...
qboosh
qboosh at pld-linux.org
Sat Apr 28 22:25:38 CEST 2007
Author: qboosh Date: Sat Apr 28 20:25:38 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- separated libswfdec-gtk (and its -devel,-static)
- added gnomevfs bcond
- revised devel deps
---- Files affected:
SPECS:
swfdec.spec (1.63 -> 1.64)
---- Diffs:
================================================================
Index: SPECS/swfdec.spec
diff -u SPECS/swfdec.spec:1.63 SPECS/swfdec.spec:1.64
--- SPECS/swfdec.spec:1.63 Sat Apr 28 21:47:44 2007
+++ SPECS/swfdec.spec Sat Apr 28 22:25:32 2007
@@ -1,7 +1,8 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without apidocs # disables gtk-doc
+%bcond_without apidocs # disable gtk-doc
+%bcond_without gnomevfs # without gnome-vfs support
#
Summary: Flash animations redering library
Summary(pl.UTF-8): Biblioteka renderująca animacje flash
@@ -20,7 +21,7 @@
BuildRequires: ffmpeg-devel
BuildRequires: gtk+2-devel >= 2:2.8.0
%{?with_apidocs:BuildRequires: gtk-doc >= 1.6}
-BuildRequires: gnome-vfs2-devel >= 2.14.0
+%{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.14.0}
BuildRequires: gstreamer-devel >= 0.10.11
BuildRequires: libmad-devel >= 0.14.2b
BuildRequires: liboil-devel >= 0.3.9
@@ -42,28 +43,18 @@
Obecnie potrafi wyświetlić większość animacji Flash 3 i część Flash 4.
Interaktywność nie jest jeszcze obsługiwana.
-%package apidocs
-Summary: swfdec API documetation
-Summary(pl.UTF-8): Dokumentacja API swfdec
-Group: Documentation
-Requires: gtk-doc-common
-
-%description apidocs
-swfdec API documetation.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja API swfdec.
-
%package devel
Summary: Header file required to build programs using swfdec library
Summary(pl.UTF-8): Pliki nagłówkowe wymagane przez programy używające swfdec
-Group: X11/Development/Libraries
+Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: cairo-devel >= 1.2.0
Requires: ffmpeg-devel
-Requires: gtk+2-devel >= 2:2.8.0
+Requires: glib2-devel >= 1:2.8.0
+Requires: gstreamer-devel >= 0.10.11
Requires: libmad-devel >= 0.14.2b
Requires: liboil-devel >= 0.3.9
+Requires: pango-devel >= 1:1.10.0
Obsoletes: libswfdec0-devel
%description devel
@@ -76,7 +67,7 @@
%package static
Summary: Static swfdec library
Summary(pl.UTF-8): Statyczna biblioteka swfdec
-Group: X11/Development/Libraries
+Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
@@ -85,6 +76,58 @@
%description static -l pl.UTF-8
Statyczna biblioteka swfdec.
+%package gtk
+Summary: swfdec-gtk library
+Summary(pl.UTF-8): Biblioteka swfdec-gtk
+Group: X11/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description gtk
+swfdec-gtk library.
+
+%description gtk -l pl.UTF-8
+Biblioteka swfdec-gtk.
+
+%package gtk-devel
+Summary: Header files for swfdec-gtk library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki swfdec-gtk
+Group: X11/Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+Requires: %{name}-gtk = %{version}-%{release}
+Requires: alsa-lib-devel >= 1.0
+%{?with_gnomevfs:Requires: gnome-vfs2-devel >= 2.14.0}
+Requires: gtk+2-devel >= 2:2.8.0
+
+%description gtk-devel
+Header files for swfdec-gtk library.
+
+%description gtk-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki swfdec-gtk.
+
+%package gtk-static
+Summary: Static swfdec-gtk library
+Summary(pl.UTF-8): Statyczna biblioteka swfdec-gtk
+Group: X11/Development/Libraries
+Requires: %{name}-gtk-devel = %{version}-%{release}
+
+%description gtk-static
+Static swfdec-gtk library.
+
+%description gtk-static -l pl.UTF-8
+Statyczna biblioteka swfdec-gtk.
+
+%package apidocs
+Summary: swfdec API documetation
+Summary(pl.UTF-8): Dokumentacja API swfdec
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+swfdec API documetation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API swfdec.
+
%prep
%setup -q
@@ -95,8 +138,8 @@
%{__autoheader}
%{__automake}
%configure \
+ %{!?with_gnomevfs:--disable-gnome-vfs} \
--enable-ffmpeg \
- --enable-gnome-vfs \
--enable-gstreamer \
--%{?with_apidocs:en}%{?!with_apidocs:dis}able-gtk-doc \
--enable-gtk \
@@ -110,7 +153,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%{?!with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
+%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -118,27 +161,46 @@
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post gtk -p /sbin/ldconfig
+%postun gtk -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/libswfdec-*.so.*.*
-
-%if %{with apidocs}
-%files apidocs
-%defattr(644,root,root,755)
-%{_gtkdocdir}/swfdec
-%endif
+%attr(755,root,root) %{_libdir}/libswfdec-0.4.so.*.*
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libswfdec-*.so
-%{_libdir}/libswfdec-*.la
-%{_includedir}/swfdec-*
-%{_pkgconfigdir}/swfdec-*.pc
+%attr(755,root,root) %{_libdir}/libswfdec-0.4.so
+%{_libdir}/libswfdec-0.4.la
+%dir %{_includedir}/swfdec-0.4
+%{_includedir}/swfdec-0.4/libswfdec
+%{_pkgconfigdir}/swfdec-0.4.pc
%files static
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libswfdec-*.a
+%attr(755,root,root) %{_libdir}/libswfdec-0.4.a
+
+%files gtk
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libswfdec-gtk-0.4.so.*.*
+
+%files gtk-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libswfdec-gtk-0.4.so
+%{_libdir}/libswfdec-gtk-0.4.la
+%{_includedir}/swfdec-0.4/libswfdec-gtk
+%{_pkgconfigdir}/swfdec-gtk-0.4.pc
+
+%files gtk-static
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libswfdec-gtk-0.4.a
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/swfdec
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -146,6 +208,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.64 2007/04/28 20:25:32 qboosh
+- separated libswfdec-gtk (and its -devel,-static)
+- added gnomevfs bcond
+- revised devel deps
+
Revision 1.63 2007/04/28 19:47:44 megabajt
- updated to 0.4.4
- added apidocs bcond
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/swfdec.spec?r1=1.63&r2=1.64&f=u
More information about the pld-cvs-commit
mailing list