SPECS: python-pigment.spec - License is LGPL (v2+) - more packaging fixes, ...

qboosh qboosh at pld-linux.org
Sat Aug 23 00:28:47 CEST 2008


Author: qboosh                       Date: Fri Aug 22 22:28:47 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- License is LGPL (v2+)
- more packaging fixes, updated deps

---- Files affected:
SPECS:
   python-pigment.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/python-pigment.spec
diff -u SPECS/python-pigment.spec:1.5 SPECS/python-pigment.spec:1.6
--- SPECS/python-pigment.spec:1.5	Sat Aug 23 00:13:52 2008
+++ SPECS/python-pigment.spec	Sat Aug 23 00:28:42 2008
@@ -4,14 +4,19 @@
 Name:		python-pigment
 Version:	0.3.5
 Release:	1
-License:	GPL v3
-Group:		Applications/Multimedia
+License:	LGPL v2+
+Group:		Libraries/Python
 Source0:	http://elisa.fluendo.com/static/download/pigment/pigment-python-%{version}.tar.gz
 # Source0-md5:	63b1d174040f48b08a3ba9c76fa8c352
 URL:		http://www.fluendo.com/elisa/
-BuildRequires:	pigment-devel >= 0.3.5
+BuildRequires:	pigment-devel >= 0.3.7
+BuildRequires:	pkgconfig
 BuildRequires:	python-devel
+BuildRequires:	python-pygobject-devel >= 2.8.0
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.234
+Requires:	pigment >= 0.3.7
+Requires:	python-pygobject >= 2.8.0
 Obsoletes:	pigment-python
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,17 +39,24 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	examplesdir=%{_examplesdir}/%{name}-%{version} \
+	picturesdir=%{_examplesdir}/%{name}-%{version}/pictures
+
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
+%py_postclean $RPM_BUILD_ROOT%{_datadir}/pigment-python/2.0
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING INSTALL NEWS README RELEASE TODO ChangeLog
-%attr(755,root,root) %{py_sitedir}/*.so
+%doc AUTHORS ChangeLog NEWS README RELEASE TODO
+%attr(755,root,root) %{py_sitedir}/_pgmmodule.so
+%attr(755,root,root) %{py_sitedir}/_pgmgtkmodule.so
 %{py_sitescriptdir}/pgm
 %{_datadir}/pigment-python
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -52,6 +64,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008/08/22 22:28:42  qboosh
+- License is LGPL (v2+)
+- more packaging fixes, updated deps
+
 Revision 1.5  2008/08/22 22:13:52  qboosh
 - renamed to python-pigment, pl, packaging fixes
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pigment.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list