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