]> git.pld-linux.org Git - packages/gal.git/blob - gal.spec
- updated to 0.7,
[packages/gal.git] / gal.spec
1 Summary:        GNOME Application Libs (GAL)
2 Summary(pl):    Biblioteki Aplikacji GNOME (GAL)
3 Name:           gal
4 Version:        0.7
5 Release:        1
6 License:        LGPL
7 Group:          X11/Libraries
8 Group(de):      X11/Libraries
9 Group(pl):      X11/Biblioteki
10 Source0:        ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gal/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-no_version.patch
12 Patch1:         %{name}-use_AM_GNU_GETTEXT.patch
13 BuildRequires:  automake
14 BuildRequires:  autoconf
15 BuildRequires:  libtool
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-libs-devel >= 1.2.12
18 BuildRequires:  gnome-print-devel >= 0.22
19 BuildRequires:  gnome-vfs-devel
20 BuildRequires:  gtk+-devel
21 BuildRequires:  libglade-devel >= 0.13
22 BuildRequires:  libunicode-devel
23 BuildRequires:  iconv
24 BuildRequires:  libxml-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         _prefix         /usr/X11R6
28 %define         _mandir         %{_prefix}/man
29
30 %description
31 This the GNOME Application Libs (GAL). This module contains some library functions
32 that came from Gnumeric and Evolution. The idea is to reuse those
33 widgets across various larger GNOME applications that might want to
34 use these widgets.
35
36 %description -l pl
37 Pakiet zawiera funkcje pochodz±ce z programów Gnumeric i Evolution. Ide± tej
38 biblioteki jest u¿ywanie tych funkcji i wigetów w innych programach GNOME.
39
40 %package devel
41 Summary:        gal header files and development documentation
42 Summary(pl):    pliki nag³ówkowe i dokumentacja gala
43 Group:          X11/Development/Libraries
44 Group(de):      X11/Entwicklung/Libraries
45 Group(pl):      X11/Programowanie/Biblioteki
46 Requires:       %{name} = %{version}
47
48 %description devel
49 Header files and development documentation for the gal libraries.
50
51 %description -l pl devel
52 Pliki nag³ówkowe i dokumentacja do bibliotek gal.
53
54 %package static
55 Summary:        gal static libraries
56 Summary(pl):    Biblioteki statyczne gala
57 Group:          X11/Development/Libraries
58 Group(de):      X11/Entwicklung/Libraries
59 Group(pl):      X11/Programowanie/Biblioteki
60 Requires:       %{name}-devel = %{version}
61
62 %description static
63 Gal static libraries.
64
65 %description -l pl static
66 Biblioteki statyczne gal.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71 %patch1 -p1
72
73 %build
74 gettextize --copy --force
75 automake -a -c
76 aclocal -I %{_aclocaldir}/gnome
77 autoconf
78 %configure \
79         --enable-static
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 gzip -9nf AUTHORS ChangeLog NEWS README
89
90 %find_lang %{name}
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/lib*.so.*.*
101 %{_datadir}/etable
102 %{_datadir}/gal
103
104 %files devel
105 %defattr(644,root,root,755)
106 %doc *.gz
107 %attr(755,root,root) %{_libdir}/*.sh
108 %attr(755,root,root) %{_libdir}/lib*.la
109 %attr(755,root,root) %{_libdir}/lib*.so
110 %{_includedir}/gal
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/lib*.a
This page took 0.118809 seconds and 4 git commands to generate.