1 | %define prefix /usr |
---|
2 | |
---|
3 | Summary: The G App library. |
---|
4 | Name: gal |
---|
5 | Version: 2.2.5 |
---|
6 | Release: 1 |
---|
7 | License: LGPL |
---|
8 | Group: System Environment/Libraries |
---|
9 | Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gal/gal-%{version}.tar.gz |
---|
10 | BuildRoot: /var/tmp/gal-%{PACKAGE_VERSION}-root |
---|
11 | |
---|
12 | %description |
---|
13 | Reuseable GNOME library functions. |
---|
14 | |
---|
15 | %package devel |
---|
16 | Summary: Libraries and include files for the G App library. |
---|
17 | Group: Development/Libraries |
---|
18 | |
---|
19 | %description devel |
---|
20 | The gal-devel package includes the static libraries and header files for the |
---|
21 | gal package. |
---|
22 | |
---|
23 | Install gal-devel if you want to develop programs which will use gal. |
---|
24 | |
---|
25 | %changelog |
---|
26 | * Tue Apr 14 2003 Rui Miguel Silva Seabra <rms@1407.org> |
---|
27 | - the spec works again |
---|
28 | - s/Copyright/License/ this _is_ the correct tag |
---|
29 | |
---|
30 | * Thu Mar 15 2001 Matthew Wilson <msw@redhat.com> |
---|
31 | - the -devel package must own the /usr/include/gal directory and all |
---|
32 | its contents |
---|
33 | |
---|
34 | * Fri Oct 10 2000 John Gotts <jgotts@linuxsavvy.com> |
---|
35 | - Created spec file. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup |
---|
39 | |
---|
40 | %build |
---|
41 | ./configure --prefix=%{prefix} --sysconfdir=/etc --enable-static --enable-shared |
---|
42 | make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | mkdir -p $RPM_BUILD_ROOT%{prefix} |
---|
47 | |
---|
48 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
49 | |
---|
50 | %find_lang %{name}-%{version} |
---|
51 | |
---|
52 | %clean |
---|
53 | rm -rf $RPM_BUILD_ROOT |
---|
54 | |
---|
55 | %post -p /sbin/ldconfig |
---|
56 | |
---|
57 | %postun -p /sbin/ldconfig |
---|
58 | |
---|
59 | |
---|
60 | %files -f %{name}-%{version}.lang |
---|
61 | %defattr(0644, root, root, 0755) |
---|
62 | %doc README AUTHORS COPYING ChangeLog NEWS |
---|
63 | %{_datadir}/gal-2.0/%{version}/glade/*.glade |
---|
64 | %{_datadir}/gal-2.0/%{version}/pixmaps/categories/*.png |
---|
65 | %{_datadir}/gal-2.0/html |
---|
66 | %{_libdir}/libgal-2.0.so* |
---|
67 | %{_libdir}/gtk-2.0/modules/libgal-a11y-2.0.so |
---|
68 | #%{prefix}/lib/galConf.sh |
---|
69 | |
---|
70 | %files devel |
---|
71 | %defattr(0644, root, root, 0755) |
---|
72 | #%{prefix}/lib/libgal.so |
---|
73 | %{_includedir}/gal-2.0 |
---|
74 | %{_libdir}/libgal-2.0.a |
---|
75 | %{_libdir}/libgal-2.0.la |
---|
76 | %{_libdir}/gtk-2.0/modules/libgal-a11y-2.0.a |
---|
77 | %{_libdir}/gtk-2.0/modules/libgal-a11y-2.0.la |
---|
78 | %{_libdir}/pkgconfig/gal-2.0.pc |
---|