Thank you Jody, However, Rodney has pointed out a couple of minor details which I've (well, again now ;)) refined with a patch over current cvs. Here it goes. Rui On Tue, 2003-04-15 at 12:55, Jody Goldberg wrote: > I committed it last night. Mike its a patch to the rpm spec file > which has no effect on the code or evo builds. It seemed completely > innocuous. > > Rui : The patch is in cvs head > =================================================================== > File: gal.spec.in Status: Up-to-date > > Working revision: 1.5 > Repository revision: 1.5 /cvs/gnome/gal/gal.spec.in,v > Sticky Tag: (none) > Sticky Date: (none) > Sticky Options: (none) -- + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? Please AVOID sending me WORD, EXCEL or POWERPOINT attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/ChangeLog,v
retrieving revision 1.758
diff -u -r1.758 ChangeLog
--- ChangeLog 14 Apr 2003 22:25:40 -0000 1.758
+++ ChangeLog 15 Apr 2003 13:06:44 -0000
@@ -1,3 +1,7 @@
+2003-04-14 Rui Miguel Silva Seabra <rms 1407 org>
+
+ * gal.spec.in : separate a11y package and remove .a and .la files
+
2003-04-14 Jody Goldberg <jody gnome org>
For Rui Miguel Silva Seabra <rms 1407 org>
Index: gal.spec.in
===================================================================
RCS file: /cvs/gnome/gal/gal.spec.in,v
retrieving revision 1.5
diff -u -r1.5 gal.spec.in
--- gal.spec.in 14 Apr 2003 22:25:40 -0000 1.5
+++ gal.spec.in 15 Apr 2003 13:06:44 -0000
@@ -15,6 +15,7 @@
%package devel
Summary: Libraries and include files for the G App library.
Group: Development/Libraries
+Requires: gal
%description devel
The gal-devel package includes the static libraries and header files for the
@@ -22,7 +23,22 @@
Install gal-devel if you want to develop programs which will use gal.
+%package a11y
+Summary: The G App library's support for accessibility.
+Group: Development/Libraries
+Requires: gal
+
+%description a11y
+The gal-a11y package includes the support for accessibility in the gal package.
+Install gal-a11y if you want to support for programs which use gal and
+need accessibility.
+
+
%changelog
+* Tue Apr 15 2003 Rui Miguel Silva Seabra <rms 1407 org>
+- separate a11y package
+- remove .a and .la files
+
* Tue Apr 14 2003 Rui Miguel Silva Seabra <rms 1407 org>
- the spec works again
- s/Copyright/License/ this _is_ the correct tag
@@ -47,6 +63,9 @@
make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name \*.a -exec rm -f \{\} \;
+find $RPM_BUILD_ROOT -name \*.la -exec rm -f \{\} \;
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -61,15 +80,13 @@
%{_datadir}/gal-2.0/%{version}/pixmaps/categories/*.png
%{_datadir}/gal-2.0/html
%{_libdir}/libgal-2.0.so*
-%{_libdir}/gtk-2.0/modules/libgal-a11y-2.0.so
#%{prefix}/lib/galConf.sh
+%files a11y
+%{_libdir}/gtk-2.0/modules/libgal-a11y-2.0.so
+
%files devel
%defattr(0644, root, root, 0755)
#%{prefix}/lib/libgal.so
%{_includedir}/gal-2.0
-%{_libdir}/libgal-2.0.a
-%{_libdir}/libgal-2.0.la
-%{_libdir}/gtk-2.0/modules/libgal-a11y-2.0.a
-%{_libdir}/gtk-2.0/modules/libgal-a11y-2.0.la
%{_libdir}/pkgconfig/gal-2.0.pc
Attachment:
signature.asc
Description: This is a digitally signed message part