SPECS: cgwd.spec - md5, desc cosmetics, files cleanup

qboosh qboosh at pld-linux.org
Thu Aug 24 22:22:50 CEST 2006


Author: qboosh                       Date: Thu Aug 24 20:22:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- md5, desc cosmetics, files cleanup

---- Files affected:
SPECS:
   cgwd.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/cgwd.spec
diff -u SPECS/cgwd.spec:1.1 SPECS/cgwd.spec:1.2
--- SPECS/cgwd.spec:1.1	Sun Aug 20 18:50:37 2006
+++ SPECS/cgwd.spec	Thu Aug 24 22:22:45 2006
@@ -1,7 +1,5 @@
 # $Revision$, $Date$
-#
-# Conditional build:
-#
+# TODO: revise BRs vs -devel Rs
 Summary:	A GTK+ tool to configure window decorations in compiz-quinnstorm
 Summary(pl):	Narzędzie GTK+ do konfiguracji dekoracji okien w compiz-quinnstorm
 Name:		cgwd
@@ -10,7 +8,7 @@
 License:	GPL/MIT
 Group:		X11
 Source0:	http://distfiles.xgl-coffee.org/cgwd/%{name}-%{version}.tar.bz2
-# Source0-md5:
+# Source0-md5:	67d01951601def226b83dd09878e368a
 BuildRequires:	Mesa-libGL-devel >= 6.5-1.20060411.1
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
@@ -21,23 +19,25 @@
 BuildRequires:	libwnck-devel >= 2.14.1-2
 BuildRequires:	pango-devel
 BuildRequires:	pkgconfig
+Requires(post,postun):	/sbin/ldconfig
 Provides:	gcompizthemer
 Obsoletes:	gcompizthemer
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-cgwd is windows manager (instead of compiz-gnome-windows-manager) and
+cgwd is window manager (instead of compiz-gnome-windows-manager) and
 tool to configure window decorations in compiz-quinnstorm, it use
 themes for windows' decorations.
 
 %description -l pl
-cgwd to manager okien (zamiast compiz-gnome-windows-manager) oraz
-Narzędzie GTK+ do konfiguracji dekoracji okien w compiz-quinnstorm.
+cgwd to zarządca okien (zamiast compiz-gnome-windows-manager) oraz
+narzędzie GTK+ do konfiguracji dekoracji okien w compiz-quinnstorm.
 
 %package devel
 Summary:	Header files for cgwd
 Summary(pl):	Pliki nagłówkowe dla cgwd
-Group:		Development
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
 Requires:	OpenGL-devel
 Requires:	libpng-devel
 Requires:	startup-notification-devel >= 0.7
@@ -55,7 +55,8 @@
 %package static
 Summary:	Static files for cgwd
 Summary(pl):	Pliki statyczne dla cgwd
-Group:		Development
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
 Static files for cgwd.
@@ -77,14 +78,18 @@
 %{__make} install \
         DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
+/sbin/ldconfig
 umask 022
 [ ! -x /usr/bin/update-mime-database ] || /usr/bin/update-mime-database /usr/share/mime >/dev/null 2>&1 ||:
 
 %postun
+/sbin/ldconfig
 umask 022
 [ ! -x /usr/bin/update-mime-database ] || /usr/bin/update-mime-database /usr/share/mime >/dev/null 2>&1 ||:
 
@@ -92,7 +97,7 @@
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/libcgwdengine.so*
+%attr(755,root,root) %{_libdir}/libcgwdengine.so.*.*.*
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/engines
 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
@@ -104,14 +109,15 @@
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcgwdengine.so
+%{_libdir}/libcgwdengine.la
 %dir %{_includedir}/%{name}
 %{_includedir}/%{name}/*
-%{_pkgconfigdir}/%{name}engine.pc
+%{_pkgconfigdir}/cgwdengine.pc
 
 %files static
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.*a
-%attr(755,root,root) %{_libdir}/%{name}/engines/*.*a
+%{_libdir}/libcgwdengine.a
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 
@@ -120,7 +126,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/08/24 20:22:45  qboosh
+- md5, desc cosmetics, files cleanup
+
 Revision 1.1  2006/08/20 16:50:37  rotom
 - new spec by spinus, thenx
 - some fixes
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cgwd.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list