SPECS: python-pynotify.spec - files cleanup, separated -devel - re...

qboosh qboosh at pld-linux.org
Tue Apr 1 21:08:25 CEST 2008


Author: qboosh                       Date: Tue Apr  1 19:08:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- files cleanup, separated -devel
- revised docs and deps
- License seems to be LGPL v2.1

---- Files affected:
SPECS:
   python-pynotify.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/python-pynotify.spec
diff -u SPECS/python-pynotify.spec:1.7 SPECS/python-pynotify.spec:1.8
--- SPECS/python-pynotify.spec:1.7	Tue Apr  1 19:59:05 2008
+++ SPECS/python-pynotify.spec	Tue Apr  1 21:08:20 2008
@@ -4,17 +4,20 @@
 Name:		python-pynotify
 Version:	0.1.1
 Release:	2
-License:	GPL
+License:	LGPL v2.1
 Group:		Libraries/Python
 Source0:	http://galago-project.org/files/releases/source/notify-python/notify-python-%{version}.tar.gz
 # Source0-md5:	8f0ef0939cc8edd2efd896ce5ba80cf4
+URL:		http://galago-project.org/
 BuildRequires:	libnotify-devel >= 0.4.3
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	python-pygtk-devel >= 2:2.4.0
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
 %pyrequires_eq	python-libs
 Requires:	libnotify >= 0.4.3
+Requires:	python-pygtk-gtk >= 2:2.4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,6 +26,19 @@
 %description -l pl.UTF-8
 Wiązania Pythona do libnotify.
 
+%package devel
+Summary:	Development files for libnotify Python bindings
+Summary(pl.UTF-8):	Pliki programistyczne wiązań Pythona do libnotify
+Group:		Development/Languages/Python
+Requires:	%{name} = %{version}-%{release}
+Requires:	python-pygtk-devel >= 2:2.4.0
+
+%description devel
+Development files for libnotify Python bindings.
+
+%description devel -l pl.UTF-8
+Pliki programistyczne wiązań Pythona do libnotify.
+
 %prep
 %setup -q -n notify-python-%{version}
 
@@ -38,17 +54,23 @@
 	PYTHON="%{__python}" \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/pynotify/*.la
+%py_postclean
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README
+%doc AUTHORS ChangeLog NEWS
 %dir %{py_sitedir}/gtk-2.0/pynotify
-%{py_sitedir}/gtk-2.0/pynotify/*.py*
-%attr(755,root,root) %{py_sitedir}/gtk-2.0/pynotify/*.so
-%{_datadir}/pygtk/2.0/defs/*
-%{_pkgconfigdir}/*
+%{py_sitedir}/gtk-2.0/pynotify/__init__.py[co]
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/pynotify/_pynotify.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_datadir}/pygtk/2.0/defs/pynotify.defs
+%{_pkgconfigdir}/notify-python.pc
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -56,6 +78,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008-04-01 19:08:20  qboosh
+- files cleanup, separated -devel
+- revised docs and deps
+- License seems to be LGPL v2.1
+
 Revision 1.7  2008-04-01 17:59:05  jajcus
 - pkgconfig and defs file added
 
================================================================

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



More information about the pld-cvs-commit mailing list