SPECS (DEVEL): GConf2.spec - added examples subpackage

megabajt megabajt at pld-linux.org
Mon Aug 27 22:22:31 CEST 2007


Author: megabajt                     Date: Mon Aug 27 20:22:31 2007 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- added examples subpackage

---- Files affected:
SPECS:
   GConf2.spec (1.125.2.1 -> 1.125.2.2) 

---- Diffs:

================================================================
Index: SPECS/GConf2.spec
diff -u SPECS/GConf2.spec:1.125.2.1 SPECS/GConf2.spec:1.125.2.2
--- SPECS/GConf2.spec:1.125.2.1	Mon Aug 27 22:00:49 2007
+++ SPECS/GConf2.spec	Mon Aug 27 22:22:26 2007
@@ -104,6 +104,18 @@
 %description static -l pt_BR.UTF-8
 Bibliotecas estĂĄticas para desenvolvimento com gconf
 
+%package examples
+Summary:	GConf2 - example programs
+Summary(pl.UTF-8):	GConf2 - przykładowe programy
+Group:		X11/Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description examples
+GConf2 - example programs.
+
+%description examples -l pl.UTF-8
+GConf2 - przykładowe programy.
+
 %package backend-evoldap
 Summary:	Evolution Data Sources LDAP backend for GConf
 Summary(pl.UTF-8):	Backend LDAP źródeł danych Evolution dla GConfa
@@ -151,11 +163,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
+install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_sysconfdir}/gconf/schemas}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cp examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %find_lang %{name}
 
 # no *.{la,a} for modules - shut up check-files
@@ -219,6 +233,10 @@
 %{_libdir}/lib*.a
 %endif
 
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
 %files backend-evoldap
 %defattr(644,root,root,755)
 %doc backends/README.evoldap
@@ -232,6 +250,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.125.2.2  2007/08/27 20:22:26  megabajt
+- added examples subpackage
+
 Revision 1.125.2.1  2007/08/27 20:00:49  megabajt
 - updated to 2.19.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/GConf2.spec?r1=1.125.2.1&r2=1.125.2.2&f=u



More information about the pld-cvs-commit mailing list