SPECS: pigment.spec - fixed base/devel split, added -static - Lice...
qboosh
qboosh at pld-linux.org
Sun Feb 17 23:50:22 CET 2008
Author: qboosh Date: Sun Feb 17 22:50:22 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed base/devel split, added -static
- License is LGPL (v2+)
---- Files affected:
SPECS:
pigment.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/pigment.spec
diff -u SPECS/pigment.spec:1.8 SPECS/pigment.spec:1.9
--- SPECS/pigment.spec:1.8 Sun Feb 17 20:04:39 2008
+++ SPECS/pigment.spec Sun Feb 17 23:50:17 2008
@@ -4,17 +4,18 @@
Name: pigment
Version: 0.3.4
Release: 0.1
-License: GPL
-Group: X11/Applications
+License: LGPL v2+
+Group: X11/Libraries
Source0: http://elisa.fluendo.com/static/download/pigment/%{name}-%{version}.tar.gz
# Source0-md5: 612acbe8a6c8ca1a2a268c08d05d92e0
URL: http://www.fluendo.com/elisa/pigment.php
BuildRequires: OpenGL-GLX-devel
-BuildRequires: cairo-devel >= 1.0.0
+BuildRequires: cairo-devel >= 1.4.0
BuildRequires: glib2-devel >= 1:2.8.0
-BuildRequires: gtk+2-devel >= 1:2.0
-BuildRequires: gstreamer-devel >= 0.10.0
+BuildRequires: gtk+2-devel >= 2:2.12.0
+BuildRequires: gstreamer-devel >= 0.10.13
BuildRequires: gstreamer-plugins-base-devel >= 0.10.0
+BuildRequires: pango-devel >= 1:1.16
BuildRequires: python-devel >= 1:2.4
BuildRequires: python-pygobject-devel >= 2.8.0
BuildRequires: pkgconfig
@@ -30,16 +31,28 @@
Framework renderowania animacji i widgetów dla projektu Elisa.
%package devel
-Summary: Header files for libpgmrender library
-Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libpgmrender
-Group: Development/Libraries
+Summary: Header files for pigment libraries
+Summary(pl.UTF-8): Pliki nagłówkowe bibliotek pigment
+Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
-Header files for libpgmrender library.
+Header files for pigment libraries.
%description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki libpgmrender.
+Pliki nagłówkowe bibliotek pigment.
+
+%package static
+Summary: Static pigment libraries
+Summary(pl.UTF-8): Statyczne biblioteki pigment
+Group: X11/Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static pigment libraries.
+
+%description static -l pl.UTF-8
+Statyczne biblioteki pigment.
%prep
%setup -q
@@ -56,7 +69,7 @@
DESTDIR=$RPM_BUILD_ROOT
%py_postclean
-rm -f $RPM_BUILD_ROOT%{_libdir}/pigment-*/{*.la,gstreamer/*.la}
+rm -f $RPM_BUILD_ROOT%{_libdir}/pigment-0.3/%{version}/*.{la,a}
rm -f $RPM_BUILD_ROOT%{py_sitedir}/_pgmmodule.la
%clean
@@ -67,25 +80,40 @@
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpigment-*.so*
-%dir %{_libdir}/%{name}-*
-%dir %{_libdir}/%{name}-*/%{version}
-%dir %{_libdir}/%{name}-*/%{version}/*.so*
+%attr(755,root,root) %{_libdir}/libpigment-0.3.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpigment-0.3.so.3
+%attr(755,root,root) %{_libdir}/libpigment-gtk-0.3.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpigment-gtk-0.3.so.3
+%dir %{_libdir}/pigment-0.3
+%dir %{_libdir}/pigment-0.3/%{version}
+%dir %{_libdir}/pigment-0.3/%{version}/*.so*
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpigment-*.so
-%{_libdir}/libpigment-*.la
-%{_includedir}/pigment-*
-%{_pkgconfigdir}/pigment-*.pc
+%attr(755,root,root) %{_libdir}/libpigment-0.3.so
+%attr(755,root,root) %{_libdir}/libpigment-gtk-0.3.so
+%{_libdir}/libpigment-0.3.la
+%{_libdir}/libpigment-gtk-0.3.la
+%{_includedir}/pigment-0.3
+%{_pkgconfigdir}/pigment-0.3.pc
+%{_pkgconfigdir}/pigment-gtk-0.3.pc
%{_gtkdocdir}/pigment
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libpigment-0.3.a
+%{_libdir}/libpigment-gtk-0.3.a
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2008-02-17 22:50:17 qboosh
+- fixed base/devel split, added -static
+- License is LGPL (v2+)
+
Revision 1.8 2008-02-17 19:04:39 luzik
- updated to 0.3.4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pigment.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list