Hi, On Tue, 2003-04-15 at 11:54, Rodney Dawes wrote: > Some of the changes are incorrect. Possibly. > The spec file should also probably match the packages from Ximian. Or the spec from ximian should probably be integrated in gal at cvs.gnome.org, what ever. > There are many directories that the packages need to own, RPM 4.2 didn't complain of any missing stuff. > and the a11y modules should be separate from the shared library. You mean, they should be separated into different packages? Like gal-a11y and gal-a11y-devel ? It's very easy to do so if that's what you mean. > The libtool archive files are unneeded and shouldn't > be in the packages either. If so, they shouldn't be installed now, should they? I can easily remove them from the spec so RPM doesn't complain. Besides, the original contains: %{prefix}/lib/libgal.a %{prefix}/lib/libgal.la ... and others. Here's a new patch according to your suggestions. Hugs, Rui -- + 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.757 diff -u -r1.757 ChangeLog --- ChangeLog 9 Apr 2003 18:45:11 -0000 1.757 +++ ChangeLog 15 Apr 2003 12:37:37 -0000 @@ -1,3 +1,8 @@ +2003-04-15 Rui Miguel Silva Seabra <rms 1407 org> + + * gal.spec.in : make the rpm spec work again and correct Copyright + tag to License tag (which is the correct one) + 2003-04-09 Mike Kestner <mkestner ximian com> * configure.in : releasing 1.99.3 Index: gal.spec.in =================================================================== RCS file: /cvs/gnome/gal/gal.spec.in,v retrieving revision 1.4 diff -u -r1.4 gal.spec.in --- gal.spec.in 19 Sep 2001 22:35:57 -0000 1.4 +++ gal.spec.in 15 Apr 2003 12:37:37 -0000 @@ -4,7 +4,7 @@ Name: gal Version: @VERSION@ Release: 1 -Copyright: LGPL +License: LGPL Group: System Environment/Libraries Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gal/gal-%{version}.tar.gz BuildRoot: /var/tmp/gal-%{PACKAGE_VERSION}-root @@ -22,7 +22,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 + +%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> +- the spec works again +- s/Copyright/License/ this _is_ the correct tag +- separate a11y package + * Thu Mar 15 2001 Matthew Wilson <msw redhat com> - the -devel package must own the /usr/include/gal directory and all its contents @@ -43,6 +58,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 @@ -51,14 +69,19 @@ %postun -p /sbin/ldconfig %files +%defattr(0644, root, root, 0755) %doc README AUTHORS COPYING ChangeLog NEWS -%{prefix}/share/etable/%{version}/glade/*.glade -%{prefix}/lib/libgal.so.* -%{prefix}/lib/galConf.sh +%{_datadir}/gal-2.0/%{version}/glade/*.glade +%{_datadir}/gal-2.0/%{version}/pixmaps/categories/*.png +%{_datadir}/gal-2.0/html +%{_libdir}/libgal-2.0.so* +#%{prefix}/lib/galConf.sh + +%files a11y +%{_libdir}/gtk-2.0/modules/libgal-a11y-2.0.so %files devel -%defattr(-, root, root) -%{prefix}/lib/libgal.so -%{prefix}/lib/libgal.a -%{prefix}/lib/libgal.la -%{prefix}/include/gal +%defattr(0644, root, root, 0755) +#%{prefix}/lib/libgal.so +%{_includedir}/gal-2.0 +%{_libdir}/pkgconfig/gal-2.0.pc
Attachment:
signature.asc
Description: This is a digitally signed message part