]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
[packages/control-center.git] / control-center.spec
1 Summary:        GNOME control center
2 Summary(es):    El centro de controle del GNOME
3 Summary(pl):    Centrum kontroli GNOME
4 Summary(pt_BR): O Centro de Controle do GNOME
5 Summary(uk):    ãÅÎÔÒ ËÅÒÕ×ÁÎÎÑ GNOME
6 Summary(ru):    ãÅÎÔÒ ÕÐÒÁ×ÌÅÎÉÑ GNOME
7 Name:           control-center
8 Version:        1.4.0.5
9 Release:        2
10 Epoch:          1
11 License:        GPL
12 Group:          X11/Applications
13 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-macros.patch
15 Patch1:         %{name}-applnk.patch
16 Patch2:         %{name}-wm-properties_path.patch
17 Patch3:         %{name}-esdrelease.patch
18 Patch4:         %{name}-pldrelease.patch
19 Patch5:         %{name}-am_conditional.patch
20 Patch6:         %{name}-uipropertiesmenu.patch
21 Patch7:         %{name}-setroothint.patch
22 Patch8:         %{name}-no_mans.patch
23 URL:            http://www.gnome.org/
24 Icon:           control-center.gif
25 BuildRequires:  GConf-devel
26 BuildRequires:  ORBit-devel >= 0.5.6
27 BuildRequires:  autoconf
28 BuildRequires:  automake
29 BuildRequires:  bison
30 BuildRequires:  flex
31 BuildRequires:  esound-devel >= 0.2.5
32 BuildRequires:  findutils
33 BuildRequires:  gdk-pixbuf-devel >= 0.7.0
34 BuildRequires:  gettext-devel
35 BuildRequires:  gnome-libs-devel >= 1.2.12-3
36 BuildRequires:  gnome-vfs-devel >= 0.9
37 BuildRequires:  gtk+-devel >= 1.1.16
38 BuildRequires:  imlib-devel >= 1.8.2
39 BuildRequires:  intltool
40 BuildRequires:  libtool
41 BuildRequires:  oaf-devel
42 BuildRequires:  zlib-devel
43 BuildRequires:  libxml-devel
44 PreReq:         /sbin/ldconfig
45 PreReq:         scrollkeeper
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 Obsoletes:      gnome
48
49 %define         _prefix         /usr/X11R6
50 %define         _sysconfdir     /etc/X11/GNOME
51 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
52
53 %description
54 A Configuration tool for easily setting up your GNOME environment.
55 GNOME is the GNU Network Object Model Environment. That's a fancy name
56 but really GNOME is a nice GUI desktop environment. It makes using
57 your computer easy, powerful, and easy to configure.
58
59 %description -l es
60 El control-center es una herramienta para una configuración facilitada
61 el entorno GNOME.
62
63 %description -l pl
64 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
65 Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
66 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
67 jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
68 proste, wydajne i ³atwe w konfiguracji.
69
70 %description -l pt_BR
71 O control-center é uma ferramenta para facilmente configurar seu
72 ambiente GNOME.
73
74 %description -l ru
75 ðÁËÅÔ control-center ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ, ÐÏÚ×ÏÌÑÀÝÉÅ ÎÁÓÔÒÁÉ×ÁÔØ ÓÒÅÄÕ
76 GNOME ×ÁÛÅÊ ÓÉÓÔÅÍÙ (ÔÁËÉÅ ×ÅÝÉ ËÁË ÆÏΠÒÁÂÏÞÅÇÏ ÓÔÏÌÁ É ÔÅÍÙ,
77 ÐÒÏÇÒÁÍÍÁ ÓÏÈÒÁÎÅÎÉÑ ÜËÒÁÎÁ, ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍÎÙÅ Ú×ÕËÉ,
78 ÐÏ×ÅÄÅÎÉÅ ÍÙÛÉ É ÄÒ.)
79
80 üÔÏÔ ÐÁËÅÔ ÎÕÖÅÎ, ÅÓÌÉ ×Ù ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÅ ÓÒÅÄÕ GNOME.
81
82 %description -l uk
83 ðÁËÅÔ control-center Í¦ÓÔÉÔØ ÕÔÉ̦ÔÉ, Ñ˦ ÄÏÚ×ÏÌÑÀÔØ ÎÁÓÔÒÏÀ×ÁÔÉ
84 ÓÅÒÅÄÏ×ÉÝÅ GNOME ×ÁÛϧ ÓÉÓÔÅÍÉ (ÔÁ˦ ÒÅÞ¦ ÑË ÆÏΠÒÏÂÏÞÏÇÏ ÓÔÏÌÕ ÔÁ
85 ÔÅÍÉ, ÐÒÏÇÒÁÍÁ ÚÂÅÒÅÖÅÎÎÑ ÅËÒÁÎÕ, ×¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍΦ Ú×ÕËÉ,
86 ÐÏ×ÅĦÎËÁ ÍÉÛ¦ ÔÁ ¦Î.)
87
88 ãÅÊ ÐÁËÅÔ ÐÏÔÒ¦ÂÎÉÊ, ÑËÝÏ ×É ×ÓÔÁÎÏ×ÌÀ¤ÔÅ ÓÅÒÅÄÏ×ÉÝÅ GNOME.
89
90 %package devel
91 Summary:        GNOME control-center includes
92 Summary(es):    Archivos para desarrollo con el control-center del GNOME
93 Summary(pl):    Pliki nag³ówkowe centrum kontroli GNOME
94 Summary(pt_BR): Arquivos para desenvolvimento com o control-center do GNOME
95 Summary(ru):    óÒÅÄÁ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ ÄÌÑ ãÅÎÔÒÁ õÐÒÁ×ÌÅÎÉÑ GNOME
96 Summary(uk):    óÅÒÅÄÏ×ÉÝÅ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ ÄÌÑ ãÅÎÔÒÕ ëÅÒÕ×ÁÎÎÑ GNOME
97 Group:          X11/Development/Libraries
98 Requires:       %{name} = %{version}
99
100 %description devel
101 Capplet development stuff.
102
103 %description devel -l es
104 Archivos para desarrollo con el control-center del GNOME
105
106 %description -l pl
107 Rzeczy potrzebne do kompilacji.
108
109 %description devel -l pt_BR
110 Se você estiver interessado em desenvolver painéis para o centro de
111 controle do GNOME este pacote será necessário.
112
113 O control-center-devel lhe a ajuda na criação de 'capplets', que são
114 usados no centro de controle.
115
116 %description devel -l ru
117 ðÁËÅÔ control-center-devel ÓÏÄÅÒÖÉÔ ÓÒÅÄÕ, ÎÅÏÂÈÏÄÉÍÕÀ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
118 ÍÏÄÕÌÅÊ (`capplets'), ÉÓÐÏÌØÚÕÅÍÙÈ × ãÅÎÔÒÅ õÐÒÁ×ÌÅÎÉÑ GNOME.
119
120 åÓÌÉ ×Ù ÔÏÌØËÏ ÉÓÐÏÌØÚÕÅÔÅ ÒÁÂÏÞÉÊ ÓÔÏÌ GNOME, ÎÏ ÎÅ ÒÁÚÒÁÂÁÔÙ×ÁÅÔÅ
121 ÐÒÏÇÒÁÍÍ, ÔÏ ×ÁÍ ÎÅ ÎÕÖÎÏ ÕÓÔÁÎÁ×ÌÉ×ÁÔØ ÜÔÏÔ ÐÁËÅÔ.
122
123 %description devel -l uk
124 ðÁËÅÔ control-center-devel Í¦ÓÔÉÔØ ÓÅÒÅÄÏ×ÉÝÅ, ÎÅÏÂȦÄÎÅ ÄÌÑ ÒÏÚÒÏÂËÉ
125 ÍÏÄÕ̦נ(`capplets'), Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ × ãÅÎÔÒ¦ ëÅÒÕ×ÁÎÎÑ GNOME.
126
127 ñËÝÏ ×É ÌÉÛÅ ×ÉËÏÒÉÓÔÏ×Õ¤ÔÅ ÒÏÂÏÞÉÊ ÓԦ̠GNOME, ÁÌÅ ÎÅ ÒÏÚÒÏÂÌѤÔÅ
128 ÐÒÏÇÒÁÍ, ÔÏ ×ÁÍ ÎÅ ÐÏÔÒ¦ÂÎÏ ×ÓÔÁÎÏ×ÌÀ×ÁÔÉ ÃÅÊ ÐÁËÅÔ.
129
130 %package static
131 Summary:        GNOME control-center static libraries
132 Summary(es):    Archivos estáticos para desarrollo con el control-center del GNOME
133 Summary(pl):    Statyczne biblioteki dla centrum kontroli GNOME
134 Summary(pt_BR): Arquivos estáticos para desenvolvimento com o control-center
135 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ ãÅÎÔÒÁ õÐÒÁ×ÌÅÎÉÑ GNOME
136 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ ãÅÎÔÒÕ ëÅÒÕ×ÁÎÎÑ GNOME
137 Group:          X11/Development/Libraries
138 Requires:       %{name}-devel = %{version}
139
140 %description static
141 GNOME control-center static libraries.
142
143 %description static -l es
144 El control-center es una herramienta para una configuración facilitada
145 el entorno GNOME.
146
147 Archivos para desarrollo con el control-center del GNOME Archivos
148 estáticos del control-center del gnome.
149
150 %description -l pl
151 Statyczne biblioteki dla centrum kontroli GNOME.
152
153 %description static -l pt_BR
154 O control-center-devel lhe a ajuda na criação de 'capplets', que são
155 usados no centro de controle.
156
157 Se você estiver interessado em desenvolver painéis para o centro de
158 controle do GNOME este pacote será necessário. Nota: este pacote
159 contém somente os arquivos estáticos.
160
161 %description static -l ru
162 ðÁËÅÔ control-center-static ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
163 ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ (`capplets'), ÉÓÐÏÌØÚÕÅÍÙÈ × ãÅÎÔÒÅ õÐÒÁ×ÌÅÎÉÑ
164 GNOME.
165
166 %description static -l uk
167 ðÁËÅÔ control-center-static Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ
168 ÍÏÄÕ̦נ(`capplets'), Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ × ãÅÎÔÒ¦ ëÅÒÕ×ÁÎÎÑ GNOME.
169
170 %prep
171 %setup -q
172 %patch0 -p1
173 %patch1 -p1
174 %patch2 -p1
175 %patch3 -p1
176 %patch4 -p1
177 %patch5 -p1
178 %patch6 -p1
179 %patch7 -p1
180 %patch8 -p1
181
182 %build
183 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
184 mv -f configure.in.tmp configure.in
185 rm -f missing
186 xml-i18n-toolize --copy --force
187 %{__libtoolize}
188 gettextize --copy --force
189 rm -f macros/xml-i18n-tools.m4  # have it in xml-i18n-tools
190 aclocal -I macros
191 %{__autoconf}
192 %{__automake}
193 %configure
194
195 %{__make}
196
197 %install
198 rm -rf $RPM_BUILD_ROOT
199
200 %{__make} install \
201         DESTDIR=$RPM_BUILD_ROOT \
202         omf_dest_dir=%{_omf_dest_dir}/%{name}
203
204 rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop \
205         $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop \
206         $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop/screensaver-properties.desktop
207
208 find $RPM_BUILD_ROOT%{_applnkdir} -name .directory | xargs rm -f
209
210 gzip -9nf AUTHORS ChangeLog NEWS README
211
212 %find_lang %{name} --with-gnome
213
214 %clean
215 rm -rf $RPM_BUILD_ROOT
216
217 %post
218 /sbin/ldconfig
219 /usr/bin/scrollkeeper-update
220
221 %postun
222 /sbin/ldconfig
223 /usr/bin/scrollkeeper-update
224
225 %files -f %{name}.lang
226 %defattr(644,root,root,755)
227 %{_sysconfdir}/CORBA/servers/*
228 %attr(755,root,root) %{_bindir}/*
229 %attr(755,root,root) %{_libdir}/lib*.so.*.*
230
231 %{_datadir}/control-center
232 %{_applnkdir}/Settings/GNOME
233 %{_omf_dest_dir}/%{name}
234 %dir %{_datadir}/gnome/wm-properties
235 %{_pixmapsdir}/*
236 %{_datadir}/idl/*
237
238 %files devel
239 %defattr(644,root,root,755)
240 %doc *.gz
241 %attr(755,root,root) %{_libdir}/lib*.so
242 %attr(755,root,root) %{_libdir}/lib*.la
243 %attr(755,root,root) %{_libdir}/*.sh
244 %{_includedir}/*
245
246 %files static
247 %defattr(644,root,root,755)
248 %{_libdir}/lib*.a
This page took 0.058789 seconds and 4 git commands to generate.