]> git.pld-linux.org Git - packages/gal1.git/blob - gal1.spec
- update configure to build with current intltool; release 2
[packages/gal1.git] / gal1.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 Summary(ru):    âÉÂÌÉÏÔÅËÁ ÄÌÑ ÓÏÓÔÁ×ÎÙÈ ÄÏËÕÍÅÎÔÏ× × GNOME
5 Summary(uk):    â¦Â̦ÏÔÅËÁ ÄÌÑ ËÏÍÐÏÎÅÎÔÎÉÈ ÄÏËÕÍÅÎԦננGNOME
6 Name:           gal1
7 Version:        0.24
8 Release:        2
9 Epoch:          1
10 License:        LGPL
11 Group:          X11/Libraries
12 Source0:        ftp://ftp.gnome.org/pub/gnome/sources/gal/%{version}/gal-%{version}.tar.bz2
13 # Source0-md5:  9f9790d4e8763c4ce74e5d59f47aa509
14 Patch0:         %{name}-am15.patch
15 Patch1:         %{name}-locale-names.patch
16 Patch2:         %{name}-iconv-in-libc.patch
17 Patch3:         %{name}-link.patch
18 BuildRequires:  automake
19 BuildRequires:  autoconf
20 BuildRequires:  gdk-pixbuf-gnome-devel
21 BuildRequires:  gettext-devel
22 BuildRequires:  gnome-libs-devel >= 1.2.12
23 BuildRequires:  gnome-print-devel >= 0.28
24 BuildRequires:  gnome-vfs-devel >= 1.0
25 BuildRequires:  gtk+-devel >= 1.2.7
26 BuildRequires:  intltool
27 BuildRequires:  libglade-devel >= 0.13
28 BuildRequires:  libglade-gnome-devel >= 0.13
29 BuildRequires:  libtool
30 BuildRequires:  libxml-devel >= 1.8.8
31 Obsoletes:      libgal19
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 This the GNOME Application Libs (GAL). This module contains some
36 library functions that came from Gnumeric and Evolution. The idea is
37 to reuse those widgets across various larger GNOME applications that
38 might want to use these widgets.
39
40 %description -l pl
41 Pakiet zawiera funkcje pochodz±ce z programów Gnumeric i Evolution.
42 Ide± tej biblioteki jest u¿ywanie tych funkcji i wigetów w innych
43 programach GNOME.
44
45 %description -l pt_BR
46 Este módulo contém algumas funções de biblioteca que vinham com o
47 Gnumeric e com o Evolution. A idéia é reutilizar estes componentes em
48 uma série de aplicações GNOME maiores.
49
50 %description -l ru
51 üÔÏ ÐÁËÅÔ G App Libs (GAL). ïΠÓÏÄÅÒÖÉÔ ÎÅËÏÔÏÒÙÅ ÂÉÂÌÉÏÔÅÞÎÙÅ
52 ÆÕÎËÃÉÉ, ÐÒÉÛÅÄÛÉÅ ÉÚ Gnumeric É Evolution. éÄÅÑ × ÔÏÍ, ÞÔÏÂÙ
53 ÉÓÐÏÌØÚÏ×ÁÔØ ÉÈ ×ÉÄÖÅÔÙ × ÄÒÕÇÉÈ ÐÒÉÌÏÖÅÎÉÑÈ GNOME, ËÏÔÏÒÙÍ ÜÔÉ
54 ×ÉÄÖÅÔÙ ÍÏÇÌÉ ÂÙ ÐÒÉÇÏÄÉÔØÓÑ.
55
56 %description -l uk
57 ãÅ ÐÁËÅÔ G App Libs (GAL). ÷¦Î Í¦ÓÔÉÔØ ÄÅÑ˦ Â¦Â̦ÏÔÅÞΦ ÆÕÎËæ§, ÝÏ
58 ÐÏÈÏÄÑÔؠצĠGnumeric ÔÁ Evolution. ¶ÄÅÑ × ÔÏÍÕ, ÝÏ ×ÉËÏÒÉÓÔÁÔÉ §È
59 צÄÖÅÔÉ × ¦ÎÛÉÈ ÐÒÏÇÒÁÍÁÈ GNOME, ÑËÉ͠æ ×¦ÄÖÅÔÉ ÍÏÇÌɠ ÓÔÁÔÉ ×
60 ÎÁÇÏĦ.
61
62 %package devel
63 Summary:        gal header files and development documentation
64 Summary(pl):    Pliki nag³ówkowe i dokumentacja gala
65 Summary(pt_BR): Arquivos de inclusão do gal
66 Summary(ru):    âÉÂÌÉÏÔÅËÉ É ÈÅÄÅÒÙ ÄÌÑ gal
67 Summary(uk):    â¦Â̦ÏÔÅËÉ ÔÁ ÈÅÄÅÒÉ ÄÌÑ gal
68 Group:          X11/Development/Libraries
69 Requires:       %{name} = %{version}-%{release}
70 Requires:       gdk-pixbuf-gnome-devel
71 Requires:       gnome-print-devel >= 0.28
72 Requires:       libglade-gnome-devel >= 0.13
73 Requires:       libxml-devel >= 1.8.8
74 Obsoletes:      libgal19-devel
75
76 %description devel
77 Header files and development documentation for the gal libraries.
78
79 %description devel -l pl
80 Pliki nag³ówkowe i dokumentacja do bibliotek gal.
81
82 %description devel -l pt_BR
83 Arquivos de inclusão necessários para compilar os aplicativos que usam
84 o gal.
85
86 %description devel -l ru
87 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÅÏÂÈÏÄÉÍÙÅ ÂÉÂÌÉÏÔÅËÉ É ÆÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ
88 ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ gal.
89
90 %description devel -l uk
91 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÅÏÂȦÄΦ Â¦Â̦ÏÔÅËÉ ÒÏÚÒÏÂËÉ ÔÁ ÆÁÊÌÉ ÚÁÇÏÌÏ×˦×
92 ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ gal.
93
94 %package static
95 Summary:        gal static libraries
96 Summary(pl):    Biblioteki statyczne gal
97 Summary(pt_BR): Bibliotecas estáticas do gal
98 Group:          X11/Development/Libraries
99 Requires:       %{name}-devel = %{version}-%{release}
100
101 %description static
102 Gal static libraries.
103
104 %description static -l pl
105 Biblioteki statyczne gal.
106
107 %description static -l pt_BR
108 Bibliotecas estáticas do gal.
109
110 %prep
111 %setup -q -n gal-%{version}
112 %patch0 -p1
113 %patch1 -p1
114 %patch2 -p1
115 %patch3 -p1
116
117 sed -i -e 's/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/' configure.in
118 sed -i -e 's/AM_PROG_XML_I18N_TOOLS/AC_PROG_INTLTOOL/' configure.in
119
120 mv -f po/{no,nb}.po
121
122 %build
123 intltoolize --copy --force
124 %{__libtoolize}
125 %{__gettextize}
126 %{__aclocal} -I %{_aclocaldir}/gnome
127 %{__autoconf}
128 %{__automake}
129 %configure \
130         --enable-static
131 %{__make}
132
133 %install
134 rm -rf $RPM_BUILD_ROOT
135
136 %{__make} install \
137         DESTDIR=$RPM_BUILD_ROOT
138
139 %find_lang %{name} --all-name
140
141 %clean
142 rm -rf $RPM_BUILD_ROOT
143
144 %post   -p /sbin/ldconfig
145 %postun -p /sbin/ldconfig
146
147 %files -f %{name}.lang
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libgal.so.*.*.*
150 %{_datadir}/etable
151 %{_datadir}/gal
152
153 %files devel
154 %defattr(644,root,root,755)
155 %doc AUTHORS ChangeLog NEWS README
156 %attr(755,root,root) %{_libdir}/libgal.so
157 %{_libdir}/libgal.la
158 %attr(755,root,root) %{_libdir}/galConf.sh
159 %{_includedir}/gal-1.0
160 %{_pkgconfigdir}/gal.pc
161
162 %files static
163 %defattr(644,root,root,755)
164 %{_libdir}/libgal.a
This page took 0.09493 seconds and 4 git commands to generate.