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