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