SPECS: pigment.spec - BRs - added -devel

qboosh qboosh at pld-linux.org
Thu May 17 22:20:04 CEST 2007


Author: qboosh                       Date: Thu May 17 20:20:04 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BRs
- added -devel

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

---- Diffs:

================================================================
Index: SPECS/pigment.spec
diff -u SPECS/pigment.spec:1.4 SPECS/pigment.spec:1.5
--- SPECS/pigment.spec:1.4	Sun Apr 22 15:05:27 2007
+++ SPECS/pigment.spec	Thu May 17 22:19:58 2007
@@ -5,10 +5,22 @@
 Version:	0.1.5
 Release:	0.1
 License:	GPL
-Group:		Applications
+Group:		X11/Applications
 Source0:	http://elisa.fluendo.com/static/download/pigment/%{name}-%{version}.tar.gz
 # Source0-md5:	d39000c031e35d5a5835343161ce4bf8
 URL:		http://www.fluendo.com/elisa/pigment.php
+BuildRequires:	OpenGL-GLX-devel
+BuildRequires:	cairo-devel >= 1.0.0
+BuildRequires:	glib2-devel >= 1:2.8.0
+BuildRequires:	gtk+2-devel >= 1:2.0
+BuildRequires:	gstreamer-devel >= 0.10.0
+BuildRequires:	gstreamer-plugins-base-devel >= 0.10.0
+BuildRequires:	python-devel >= 1:2.4
+BuildRequires:	python-pygobject-devel >= 2.8.0
+BuildRequires:	pkgconfig
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.98
+BuildRequires:	xorg-lib-libXrandr-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -17,11 +29,24 @@
 %description -l pl.UTF-8
 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
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libpgmrender library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libpgmrender.
+
 %prep
 %setup -q
 
 %build
-%configure
+%configure \
+	--with-html-dir=%{_gtkdocdir}
 %{__make}
 
 %install
@@ -30,7 +55,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir}/pgm -name "*.py" -exec rm {} \;
+%py_postclean
+rm -f $RPM_BUILD_ROOT%{_libdir}/pigment-*/{*.la,gstreamer/*.la}
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/pgmrendermodule.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -40,16 +67,21 @@
 
 %files
 %defattr(644,root,root,755)
-# module or library?
-%attr(755,root,root) %{_libdir}/*.so*
-%dir %{_libdir}/%{name}*
-%attr(755,root,root) %{_libdir}/%{name}*/libpgmrendergl1.so
-%dir %{_libdir}/%{name}*/gstreamer
-%attr(755,root,root) %{_libdir}/%{name}*/gstreamer/libpgmrendersink.so
+%attr(755,root,root) %{_libdir}/libpgmrender-*.so.*.*.*
+%dir %{_libdir}/%{name}-*
+%attr(755,root,root) %{_libdir}/%{name}-*/libpgmrendergl1.so
+%dir %{_libdir}/%{name}-*/gstreamer
+%attr(755,root,root) %{_libdir}/%{name}-*/gstreamer/libpgmrendersink.so
 %attr(755,root,root) %{py_sitedir}/pgmrendermodule.so
 %{py_sitescriptdir}/pgm
-# -> devel?
-%{_pkgconfigdir}/%{name}-render-0.1.pc
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpgmrender-*.so
+%{_libdir}/libpgmrender-*.la
+%{_includedir}/pigment-*
+%{_pkgconfigdir}/pigment-render-0.1.pc
+%{_gtkdocdir}/pigment-render
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -57,6 +89,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/05/17 20:19:58  qboosh
+- BRs
+- added -devel
+
 Revision 1.4  2007/04/22 13:05:27  patrys
 - 0.1.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pigment.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list