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