]> git.pld-linux.org Git - packages/gal.git/blob - gal.spec
- added patch for new automake
[packages/gal.git] / gal.spec
1
2 %define _snap 20030418
3
4 Summary:        GNOME Application Libs (GAL)
5 Summary(pl):    Biblioteki Aplikacji GNOME (GAL)
6 Summary(pt_BR): G App Libs: Biblioteca para uso em aplicativos GNOME
7 Summary(ru):    âÉÂÌÉÏÔÅËÁ ÄÌÑ ÓÏÓÔÁ×ÎÙÈ ÄÏËÕÍÅÎÔÏ× × GNOME
8 Summary(uk):    â¦Â̦ÏÔÅËÁ ÄÌÑ ËÏÍÐÏÎÅÎÔÎÉÈ ÄÏËÕÍÅÎԦננGNOME
9 Name:           gal
10 Version:        1.99.3.99
11 Release:        0.%{_snap}.1
12 Epoch:          1
13 License:        LGPL
14 Group:          X11/Libraries
15 #Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/1.99/%{name}-%{version}.tar.bz2
16 Patch0:         %{name}-am17.patch
17 Source0: %{name}-%{version}-%{_snap}.tar.bz2
18 BuildRequires:  automake
19 BuildRequires:  autoconf
20 BuildRequires:  gettext-devel
21 BuildRequires:  gnome-vfs2-devel
22 BuildRequires:  gtk+2-devel
23 BuildRequires:  gtk-doc
24 BuildRequires:  intltool
25 BuildRequires:  libglade2-devel
26 BuildRequires:  libgnomecanvas-devel
27 BuildRequires:  libgnomeprint-devel >= 2.2.0
28 BuildRequires:  libgnomeprintui-devel >= 2.2.1
29 BuildRequires:  libgnomeui-devel >= 2.2.0
30 BuildRequires:  libtool
31 BuildRequires:  libxml2-devel
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Obsoletes:      libgal19
34 Obsoletes:      gal2
35
36 %description
37 This the GNOME Application Libs (GAL). This module contains some
38 library functions that came from Gnumeric and Evolution. The idea is
39 to reuse those widgets across various larger GNOME applications that
40 might want to use these widgets.
41
42 %description -l pl
43 Pakiet zawiera funkcje pochodz±ce z programów Gnumeric i Evolution.
44 Ide± tej biblioteki jest u¿ywanie tych funkcji i wigetów w innych
45 programach GNOME.
46
47 %description -l pt_BR
48 Este módulo contém algumas funções de biblioteca que vinham com o
49 Gnumeric e com o Evolution. A idéia é reutilizar estes componentes em
50 uma série de aplicações GNOME maiores.
51
52 %description -l ru
53 üÔÏ ÐÁËÅÔ G App Libs (GAL). ïΠÓÏÄÅÒÖÉÔ ÎÅËÏÔÏÒÙÅ ÂÉÂÌÉÏÔÅÞÎÙÅ
54 ÆÕÎËÃÉÉ, ÐÒÉÛÅÄÛÉÅ ÉÚ Gnumeric É Evolution. éÄÅÑ × ÔÏÍ, ÞÔÏÂÙ
55 ÉÓÐÏÌØÚÏ×ÁÔØ ÉÈ ×ÉÄÖÅÔÙ × ÄÒÕÇÉÈ ÐÒÉÌÏÖÅÎÉÑÈ GNOME, ËÏÔÏÒÙÍ ÜÔÉ
56 ×ÉÄÖÅÔÙ ÍÏÇÌÉ ÂÙ ÐÒÉÇÏÄÉÔØÓÑ.
57
58 %description -l uk
59 ãÅ ÐÁËÅÔ G App Libs (GAL). ÷¦Î Í¦ÓÔÉÔØ ÄÅÑ˦ Â¦Â̦ÏÔÅÞΦ ÆÕÎËæ§, ÝÏ
60 ÐÏÈÏÄÑÔؠצĠGnumeric ÔÁ Evolution. ¶ÄÅÑ × ÔÏÍÕ, ÝÏ ×ÉËÏÒÉÓÔÁÔÉ §È
61 צÄÖÅÔÉ × ¦ÎÛÉÈ ÐÒÏÇÒÁÍÁÈ GNOME, ÑËÉ͠æ ×¦ÄÖÅÔÉ ÍÏÇÌɠ ÓÔÁÔÉ ×
62 ÎÁÇÏĦ.
63
64 %package devel
65 Summary:        gal header files and development documentation
66 Summary(pl):    pliki nag³ówkowe i dokumentacja gala
67 Summary(pt_BR): Arquivos de inclusão do gal
68 Summary(ru):    âÉÂÌÉÏÔÅËÉ É ÈÅÄÅÒÙ ÄÌÑ gal
69 Summary(uk):    â¦Â̦ÏÔÅËÉ ÔÁ ÈÅÄÅÒÉ ÄÌÑ gal
70 Group:          X11/Development/Libraries
71 Requires:       %{name} = %{version}
72 Requires:       gtk+2-devel
73 Requires:       libgnomeprint-devel
74 Requires:       libglade2-devel
75 Obsoletes:      libgal19-devel
76 Obsoletes:      gal2-devel
77
78 %description devel
79 Header files and development documentation for the gal libraries.
80
81 %description devel -l pl
82 Pliki nag³ówkowe i dokumentacja do bibliotek gal.
83
84 %description devel -l pt_BR
85 Arquivos de inclusão necessários para compilar os aplicativos que usam
86 o gal.
87
88 %description devel -l ru
89 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÅÏÂÈÏÄÉÍÙÅ ÂÉÂÌÉÏÔÅËÉ É ÆÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ
90 ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ gal.
91
92 %description devel -l uk
93 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÅÏÂȦÄΦ Â¦Â̦ÏÔÅËÉ ÒÏÚÒÏÂËÉ ÔÁ ÆÁÊÌÉ ÚÁÇÏÌÏ×˦×
94 ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ gal.
95
96 %package static
97 Summary:        gal static libraries
98 Summary(pl):    Biblioteki statyczne gala
99 Summary(pt_BR): Bibliotecas estáticas do gal
100 Group:          X11/Development/Libraries
101 Requires:       %{name}-devel = %{version}
102 Obsoletes:      gal2-static
103
104 %description static
105 Gal static libraries.
106
107 %description static -l pl
108 Biblioteki statyczne gal.
109
110 %description static -l pt_BR
111 Bibliotecas estáticas do gal.
112
113 %prep
114 %setup -q
115 %patch0 -p1
116
117 %build
118 rm -f missing
119 glib-gettextize --copy --force
120 intltoolize --copy --force
121 %{__libtoolize}
122 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
123 %{__autoheader}
124 %{__autoconf}
125 %{__automake}
126
127 %configure \
128         --enable-static \
129         --enable-gtk-doc \
130         --with-html-dir=%{_gtkdocdir}/%{name}
131         
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}-%{version}
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}-%{version}.lang
149 %defattr(644,root,root,755)
150 %doc announce* AUTHORS ChangeLog NEWS README
151 %attr(755,root,root) %{_libdir}/lib*.so.*.*
152 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
153 %{_libdir}/gtk-2.0/modules/lib*.la
154 %{_datadir}/gal-2.0
155
156 %files devel
157 %defattr(644,root,root,755)
158 %attr(755,root,root) %{_libdir}/lib*.so
159 %{_libdir}/lib*.la
160 %{_libdir}/gtk-2.0/modules/lib*.la
161 %{_includedir}/*
162 %{_pkgconfigdir}/*
163 %{_gtkdocdir}/*
164
165 %files static
166 %defattr(644,root,root,755)
167 %{_libdir}/lib*.a
This page took 0.780564 seconds and 3 git commands to generate.