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