]> git.pld-linux.org Git - packages/gal1.git/blob - gal1.spec
- BR: sed 4.0
[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 BuildRequires:  sed >= 4.0
32 Obsoletes:      libgal19
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 %description -l pt_BR
47 Este módulo contém algumas funções de biblioteca que vinham com o
48 Gnumeric e com o Evolution. A idéia é reutilizar estes componentes em
49 uma série de aplicações GNOME maiores.
50
51 %description -l ru
52 üÔÏ ÐÁËÅÔ G App Libs (GAL). ïΠÓÏÄÅÒÖÉÔ ÎÅËÏÔÏÒÙÅ ÂÉÂÌÉÏÔÅÞÎÙÅ
53 ÆÕÎËÃÉÉ, ÐÒÉÛÅÄÛÉÅ ÉÚ Gnumeric É Evolution. éÄÅÑ × ÔÏÍ, ÞÔÏÂÙ
54 ÉÓÐÏÌØÚÏ×ÁÔØ ÉÈ ×ÉÄÖÅÔÙ × ÄÒÕÇÉÈ ÐÒÉÌÏÖÅÎÉÑÈ GNOME, ËÏÔÏÒÙÍ ÜÔÉ
55 ×ÉÄÖÅÔÙ ÍÏÇÌÉ ÂÙ ÐÒÉÇÏÄÉÔØÓÑ.
56
57 %description -l uk
58 ãÅ ÐÁËÅÔ G App Libs (GAL). ÷¦Î Í¦ÓÔÉÔØ ÄÅÑ˦ Â¦Â̦ÏÔÅÞΦ ÆÕÎËæ§, ÝÏ
59 ÐÏÈÏÄÑÔؠצĠGnumeric ÔÁ Evolution. ¶ÄÅÑ × ÔÏÍÕ, ÝÏ ×ÉËÏÒÉÓÔÁÔÉ §È
60 צÄÖÅÔÉ × ¦ÎÛÉÈ ÐÒÏÇÒÁÍÁÈ GNOME, ÑËÉ͠æ ×¦ÄÖÅÔÉ ÍÏÇÌɠ ÓÔÁÔÉ ×
61 ÎÁÇÏĦ.
62
63 %package devel
64 Summary:        gal header files and development documentation
65 Summary(pl):    Pliki nag³ówkowe i dokumentacja gala
66 Summary(pt_BR): Arquivos de inclusão do gal
67 Summary(ru):    âÉÂÌÉÏÔÅËÉ É ÈÅÄÅÒÙ ÄÌÑ gal
68 Summary(uk):    â¦Â̦ÏÔÅËÉ ÔÁ ÈÅÄÅÒÉ ÄÌÑ gal
69 Group:          X11/Development/Libraries
70 Requires:       %{name} = %{version}-%{release}
71 Requires:       gdk-pixbuf-gnome-devel
72 Requires:       gnome-print-devel >= 0.28
73 Requires:       libglade-gnome-devel >= 0.13
74 Requires:       libxml-devel >= 1.8.8
75 Obsoletes:      libgal19-devel
76
77 %description devel
78 Header files and development documentation for the gal libraries.
79
80 %description devel -l pl
81 Pliki nag³ówkowe i dokumentacja do bibliotek gal.
82
83 %description devel -l pt_BR
84 Arquivos de inclusão necessários para compilar os aplicativos que usam
85 o gal.
86
87 %description devel -l ru
88 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÅÏÂÈÏÄÉÍÙÅ ÂÉÂÌÉÏÔÅËÉ É ÆÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ
89 ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ gal.
90
91 %description devel -l uk
92 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÅÏÂȦÄΦ Â¦Â̦ÏÔÅËÉ ÒÏÚÒÏÂËÉ ÔÁ ÆÁÊÌÉ ÚÁÇÏÌÏ×˦×
93 ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ gal.
94
95 %package static
96 Summary:        gal static libraries
97 Summary(pl):    Biblioteki statyczne gal
98 Summary(pt_BR): Bibliotecas estáticas do gal
99 Group:          X11/Development/Libraries
100 Requires:       %{name}-devel = %{version}-%{release}
101
102 %description static
103 Gal static libraries.
104
105 %description static -l pl
106 Biblioteki statyczne gal.
107
108 %description static -l pt_BR
109 Bibliotecas estáticas do gal.
110
111 %prep
112 %setup -q -n gal-%{version}
113 %patch0 -p1
114 %patch1 -p1
115 %patch2 -p1
116 %patch3 -p1
117
118 sed -i -e 's/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/' configure.in
119 sed -i -e 's/AM_PROG_XML_I18N_TOOLS/AC_PROG_INTLTOOL/' configure.in
120
121 mv -f po/{no,nb}.po
122
123 %build
124 intltoolize --copy --force
125 %{__libtoolize}
126 %{__gettextize}
127 %{__aclocal} -I %{_aclocaldir}/gnome
128 %{__autoconf}
129 %{__automake}
130 %configure \
131         --enable-static
132 %{__make}
133
134 %install
135 rm -rf $RPM_BUILD_ROOT
136
137 %{__make} install \
138         DESTDIR=$RPM_BUILD_ROOT
139
140 %find_lang %{name} --all-name
141
142 %clean
143 rm -rf $RPM_BUILD_ROOT
144
145 %post   -p /sbin/ldconfig
146 %postun -p /sbin/ldconfig
147
148 %files -f %{name}.lang
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_libdir}/libgal.so.*.*.*
151 %{_datadir}/etable
152 %{_datadir}/gal
153
154 %files devel
155 %defattr(644,root,root,755)
156 %doc AUTHORS ChangeLog NEWS README
157 %attr(755,root,root) %{_libdir}/libgal.so
158 %{_libdir}/libgal.la
159 %attr(755,root,root) %{_libdir}/galConf.sh
160 %{_includedir}/gal-1.0
161 %{_pkgconfigdir}/gal.pc
162
163 %files static
164 %defattr(644,root,root,755)
165 %{_libdir}/libgal.a
This page took 0.053926 seconds and 4 git commands to generate.