]> git.pld-linux.org Git - packages/gal.git/blob - gal.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[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.2
6 Release:        2
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 Obsoletes:      libgal19
29
30 %define         _prefix         /usr/X11R6
31 %define         _mandir         %{_prefix}/man
32
33 %description
34 This the GNOME Application Libs (GAL). This module contains some
35 library functions that came from Gnumeric and Evolution. The idea is
36 to reuse those widgets across various larger GNOME applications that
37 might want to use these widgets.
38
39 %description -l pl
40 Pakiet zawiera funkcje pochodz±ce z programów Gnumeric i Evolution.
41 Ide± tej biblioteki jest u¿ywanie tych funkcji i wigetów w innych
42 programach GNOME.
43
44 %description -l pt_BR
45 Este módulo contém algumas funções de biblioteca que vinham com o
46 Gnumeric e com o Evolution. A idéia é reutilizar estes componentes em
47 uma série de aplicações GNOME maiores.
48
49 %package devel
50 Summary:        gal header files and development documentation
51 Summary(pl):    pliki nag³ówkowe i dokumentacja gala
52 Summary(pt_BR): Arquivos de inclusão do gal
53 Group:          X11/Development/Libraries
54 Requires:       %{name} = %{version}
55 Obsoletes:      libgal19-devel
56
57 %description devel
58 Header files and development documentation for the gal libraries.
59
60 %description devel -l pl
61 Pliki nag³ówkowe i dokumentacja do bibliotek gal.
62
63 %description devel -l pt_BR
64 Arquivos de inclusão necessários para compilar os aplicativos que usam
65 o gal.
66
67 %package static
68 Summary:        gal static libraries
69 Summary(pl):    Biblioteki statyczne gala
70 Summary(pt_BR): Bibliotecas estáticas do gal
71 Group:          X11/Development/Libraries
72 Requires:       %{name}-devel = %{version}
73
74 %description static
75 Gal static libraries.
76
77 %description static -l pl
78 Biblioteki statyczne gal.
79
80 %description static -l pt_BR
81 Bibliotecas estáticas do gal.
82
83 %prep
84 %setup -q
85 %patch0 -p1
86 %patch1 -p1
87 %patch2 -p1
88
89 %build
90 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
91 mv -f configure.in.tmp configure.in
92 rm -f missing
93 libtoolize --copy --force
94 gettextize --copy --force
95 aclocal -I %{_aclocaldir}/gnome
96 %{__autoconf}
97 %{__automake}
98 %configure \
99         --enable-static
100 %{__make}
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104
105 %{__make} install \
106         DESTDIR=$RPM_BUILD_ROOT
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 AUTHORS ChangeLog NEWS README
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.034106 seconds and 3 git commands to generate.