]> git.pld-linux.org Git - packages/gal.git/blob - gal.spec
458ad91a5dfdcba545173c50fec9d1bf651ef63f
[packages/gal.git] / gal.spec
1 Summary:        the G App Libs (GAL)
2 Name:           gal
3 Version:        0.2.1
4 Release:        2
5 License:        LGPL
6 Group:          X11/Libraries
7 Group(de):      X11/Libraries
8 Group(pl):      X11/Biblioteki
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gal/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-no_version.patch
11 BuildRequires:  automake
12 BuildRequires:  gettext-devel
13 BuildRequires:  gtk+-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/X11R6
17 %define         _infodir        /usr/share/info
18 %define         _mandir         /usr/X11R6/man
19 %define         _sysconfdir     %{_datadir}
20
21 %description
22 This the G App Libs (GAL). This module contains some library functions
23 that came from Gnumeric and Evolution. The idea is to reuse those
24 widgets across various larger GNOME applications that might want to
25 use these widgets.
26
27 %package devel
28 Summary:        Gtk+ header files and development documentation
29 Group:          X11/Development/Libraries
30 Group(de):      X11/Entwicklung/Libraries
31 Group(pl):      X11/Programowanie/Biblioteki
32 Requires:       %{name} = %{version}
33
34 %description devel
35 Header files and development documentation for the Gtk+ libraries.
36
37 %description -l pl devel
38 Pliki nag³ówkowe i dokumentacja do bibliotek Gtk+.
39
40 %package static
41 Summary:        Gtk+ static libraries
42 Summary(pl):    Biblioteki statyczne Gtk+
43 Group:          X11/Development/Libraries
44 Group(de):      X11/Entwicklung/Libraries
45 Group(pl):      X11/Programowanie/Biblioteki
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 Gtk+ static libraries.
50
51 %description -l pl static
52 Biblioteki statyczne gal.
53
54 %prep
55 %setup -q
56 %patch -p1
57
58 %build
59 gettextize --copy --force
60 automake
61 %configure \
62         --enable-static
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 gzip -9nf AUTHORS ChangeLog NEWS README
72
73 #%find_lang %{name}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/lib*.so.*.*
84 %{_sysconfdir}/etable
85
86 %files devel
87 %defattr(644,root,root,755)
88 %doc *.gz
89 %attr(755,root,root) %{_libdir}/*.sh
90 %attr(755,root,root) %{_libdir}/lib*.la
91 %attr(755,root,root) %{_libdir}/lib*.so
92 %{_includedir}/gal
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/lib*.a
This page took 0.037228 seconds and 2 git commands to generate.