]> git.pld-linux.org Git - packages/gnome-control-center.git/blame - gnome-control-center.spec
- release 3
[packages/gnome-control-center.git] / gnome-control-center.spec
CommitLineData
bbeef7c2
PZ
1Summary: GNOME Control Center
2Summary(es.UTF-8): El centro de controle del GNOME
3Summary(pl.UTF-8): Centrum Kontroli GNOME
4Summary(pt_BR.UTF-8): O Centro de Controle do GNOME
5Summary(ru.UTF-8): Центр управления GNOME
6Summary(uk.UTF-8): Центр керування GNOME
7Name: gnome-control-center
167395bb 8Version: 2.24.0.1
a07e7520 9Release: 3
bbeef7c2
PZ
10Epoch: 1
11License: GPL v2+
12Group: X11/Applications
167395bb
MB
13Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/2.24/%{name}-%{version}.tar.bz2
14# Source0-md5: dcaf6e91fddbb1d57d045a4de34ec25c
15Patch0: %{name}-default_apps.patch
bbeef7c2 16URL: http://www.gnome.org/
167395bb 17BuildRequires: GConf2-devel >= 2.24.0
bbeef7c2
PZ
18BuildRequires: alsa-lib-devel >= 1.0.12
19BuildRequires: audiofile >= 1:0.2.6
20BuildRequires: autoconf
21BuildRequires: automake >= 1:1.9
22BuildRequires: bison
2b3469b3 23BuildRequires: dbus-glib-devel >= 0.74
167395bb 24BuildRequires: eel-devel >= 2.24.0
bbeef7c2 25BuildRequires: esound-devel
167395bb 26BuildRequires: evolution-data-server-devel >= 2.24.0
bbeef7c2
PZ
27BuildRequires: flex
28BuildRequires: gettext-devel
155e40f1 29BuildRequires: glib2-devel >= 1:2.14.0
a510afe7 30BuildRequires: gnome-common >= 2.20.0
167395bb 31BuildRequires: gnome-desktop-devel >= 2.24.0
2b3469b3 32BuildRequires: gnome-doc-utils >= 0.12.1
167395bb
MB
33BuildRequires: gnome-menus-devel >= 2.24.0
34BuildRequires: gnome-panel-devel >= 2.24.0
35BuildRequires: gnome-settings-daemon-devel >= 2.24.0
36BuildRequires: gnome-vfs2-devel >= 2.24.0
bbeef7c2 37BuildRequires: gstreamer-plugins-base-devel >= 0.10.10
167395bb 38BuildRequires: gtk+2-devel >= 2:2.14.0
2b3469b3 39BuildRequires: hal-devel >= 0.5.10
167395bb 40BuildRequires: intltool >= 0.40.0
167395bb 41BuildRequires: libcanberra-gtk-devel >= 0.4
d9b14bad 42BuildRequires: libglade2-devel >= 1:2.6.2
167395bb
MB
43BuildRequires: libgnomekbd-devel >= 2.24.0
44BuildRequires: libgnomeui-devel >= 2.24.0
45BuildRequires: librsvg-devel >= 2.22.0
bbeef7c2 46BuildRequires: libtool
155e40f1 47BuildRequires: libxklavier-devel >= 3.6
2b3469b3 48BuildRequires: libxml2-devel >= 1:2.6.31
167395bb
MB
49BuildRequires: metacity-devel >= 2:2.24.0
50BuildRequires: nautilus-devel >= 2.24.0
bbeef7c2 51BuildRequires: pkgconfig
dbae2c4e 52BuildRequires: rpmbuild(find_lang) >= 1.23
bbeef7c2
PZ
53BuildRequires: rpmbuild(macros) >= 1.311
54BuildRequires: scrollkeeper
19af9160 55BuildRequires: xorg-lib-libXScrnSaver-devel
bbeef7c2
PZ
56BuildRequires: xorg-lib-libXxf86misc-devel
57BuildRequires: xorg-lib-libxkbfile-devel
58Requires(post,postun): desktop-file-utils
59Requires(post,postun): gtk+2
60Requires(post,postun): scrollkeeper
61Requires(post,postun): shared-mime-info
62Requires(post,preun): GConf2
63Requires: %{name}-libs = %{epoch}:%{version}-%{release}
64Requires: desktop-file-utils
167395bb
MB
65Requires: gnome-settings-daemon >= 2.24.0
66Requires: gnome-vfs2 >= 2.24.0
bbeef7c2 67Requires: gstreamer-audio-effects-base >= 0.10.10
167395bb 68Suggests: mousetweaks >= 2.24.0
a7a15a10 69Suggests: libcanberra-gnome
bbeef7c2
PZ
70Provides: control-center = %{epoch}:%{version}-%{release}
71Obsoletes: acme
72Obsoletes: control-center
73Obsoletes: fontilus
74Obsoletes: gnome
75Obsoletes: themus
c036b520 76# sr@Latn vs. sr@latin
77Conflicts: glibc-misc < 6:2.7
bbeef7c2
PZ
78BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
79
80%description
81A Configuration tool for easily setting up your GNOME environment.
82
83%description -l es.UTF-8
84El control-center es una herramienta para una configuración facilitada
85el entorno GNOME.
86
87%description -l pl.UTF-8
88Narzędzie do łatwej konfiguracji środowiska GNOME.
89
90%description -l pt_BR.UTF-8
91O Control Center é uma ferramenta para facilmente configurar seu
92ambiente GNOME.
93
94%description -l ru.UTF-8
95Пакет Control Center содержит утилиты, позволяющие настраивать среду
96GNOME вашей системы (такие вещи как фон рабочего стола и темы,
97программа сохранения экрана, оконный менеджер, системные звуки,
98поведение мыши и др.)
99
100Этот пакет нужен, если вы устанавливаете среду GNOME.
101
102%description -l uk.UTF-8
103Пакет Control Center містить утиліти, які дозволяють настроювати
104середовище GNOME вашої системи (такі речі як фон робочого столу та
105теми, програма збереження екрану, віконний менеджер, системні звуки,
106поведінка миші та ін.)
107
108Цей пакет потрібний, якщо ви встановлюєте середовище GNOME.
109
110%package libs
111Summary: GNOME Control Center gnome-window-settings library
112Summary(pl.UTF-8): Biblioteka Control Center gnome-window-settings
2b3469b3 113Group: X11/Libraries
167395bb 114Requires: gnome-desktop-libs >= 2.24.0
567fe714 115Provides: control-center-libs = %{epoch}:%{version}-%{release}
bbeef7c2
PZ
116Obsoletes: control-center-libs
117
118%description libs
119This package contains gnome-window-settings library.
120
121%description libs -l pl.UTF-8
122Pakiet ten zawiera bibliotekę gnome-window-settings.
123
124%package devel
125Summary: GNOME Control Center header files
126Summary(pl.UTF-8): Pliki nagłówkowe bibliotek GNOME Control Center
127Group: X11/Development/Libraries
128Requires: %{name}-libs = %{epoch}:%{version}-%{release}
2b3469b3 129Requires: dbus-glib-devel >= 0.74
167395bb
MB
130Requires: gnome-desktop-devel >= 2.24.0
131Requires: gnome-menus-devel >= 2.24.0
132Requires: gtk+2-devel >= 2:2.14.0
133Requires: libgnomeui-devel >= 2.24.0
567fe714 134Provides: control-center-devel = %{epoch}:%{version}-%{release}
bbeef7c2
PZ
135Obsoletes: control-center-devel
136
137%description devel
138GNOME Control-Center header files.
139
140%description devel -l pl.UTF-8
141Pliki nagłówkowe bibliotek GNOME Control Center.
142
143%package static
144Summary: GNOME Control Center static libraries
145Summary(pl.UTF-8): Statyczne biblioteki GNOME Control Center
146Group: X11/Development/Libraries
147Requires: %{name}-devel = %{epoch}:%{version}-%{release}
567fe714 148Provides: control-center-static = %{epoch}:%{version}-%{release}
bbeef7c2
PZ
149Obsoletes: control-center-static
150
151%description static
152GNOME Control Center static libraries.
153
154%description static -l pl.UTF-8
155Statyczne biblioteki GNOME Control Center.
156
157%prep
158%setup -q
159%patch0 -p1
dbae2c4e 160
bbeef7c2
PZ
161%build
162%{__gnome_doc_prepare}
163%{__gnome_doc_common}
164%{__glib_gettextize}
165%{__intltoolize}
166%{__libtoolize}
167%{__aclocal}
bbeef7c2 168%{__autoconf}
2b3469b3 169%{__autoheader}
bbeef7c2
PZ
170%{__automake}
171%configure \
172 --disable-schemas-install \
173 --disable-update-mimedb \
174 --enable-gstreamer=0.10 \
175 --enable-aboutme \
176 X_EXTRA_LIBS="-lXext"
177%{__make}
178
179%install
180rm -rf $RPM_BUILD_ROOT
181
182%{__make} install \
183 DESTDIR=$RPM_BUILD_ROOT
184
185# no static modules - shut up check-files
186rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la}
187rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions*/*.{a,la}
188rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,la}
189
dbae2c4e 190%find_lang %{name} --with-gnome --with-omf --all-name
bbeef7c2
PZ
191
192%clean
193rm -rf $RPM_BUILD_ROOT
194
195%post
bbeef7c2 196%gconf_schema_install control-center.schemas
bbeef7c2
PZ
197%scrollkeeper_update_post
198%update_mime_database
199%update_desktop_database_post
200%update_icon_cache hicolor
201
202%preun
bbeef7c2 203%gconf_schema_uninstall control-center.schemas
bbeef7c2
PZ
204
205%postun
206%scrollkeeper_update_postun
207%update_mime_database
208%update_desktop_database_postun
209%update_icon_cache hicolor
210
211%post libs -p /sbin/ldconfig
212%postun libs -p /sbin/ldconfig
213
214%files -f %{name}.lang
215%defattr(644,root,root,755)
216%doc AUTHORS ChangeLog MAINTAINERS NEWS README
2b3469b3
PZ
217%attr(755,root,root) %{_bindir}/gnome-about-me
218%attr(755,root,root) %{_bindir}/gnome-appearance-properties
219%attr(755,root,root) %{_bindir}/gnome-at-mobility
220%attr(755,root,root) %{_bindir}/gnome-at-properties
221%attr(755,root,root) %{_bindir}/gnome-at-visual
222%attr(755,root,root) %{_bindir}/gnome-control-center
223%attr(755,root,root) %{_bindir}/gnome-default-applications-properties
224%attr(755,root,root) %{_bindir}/gnome-display-properties
2b3469b3
PZ
225%attr(755,root,root) %{_bindir}/gnome-keybinding-properties
226%attr(755,root,root) %{_bindir}/gnome-keyboard-properties
227%attr(755,root,root) %{_bindir}/gnome-mouse-properties
228%attr(755,root,root) %{_bindir}/gnome-network-preferences
229%attr(755,root,root) %{_bindir}/gnome-sound-properties
2b3469b3
PZ
230%attr(755,root,root) %{_bindir}/gnome-typing-monitor
231%attr(755,root,root) %{_bindir}/gnome-window-properties
2b3469b3
PZ
232%dir %{_libdir}/window-manager-settings
233%attr(755,root,root) %{_libdir}/window-manager-settings/libmetacity.so
bbeef7c2 234%{_sysconfdir}/gconf/schemas/control-center.schemas
2b3469b3 235%{_sysconfdir}/xdg/autostart/gnome-at-session.desktop
bbeef7c2 236%{_sysconfdir}/xdg/menus/gnomecc.menu
bbeef7c2 237%{_datadir}/gnome-control-center
bbeef7c2
PZ
238%{_datadir}/desktop-directories/*.directory
239%{_datadir}/gnome/cursor-fonts
bbeef7c2
PZ
240%{_datadir}/mime/packages/gnome-theme-package.xml
241%{_iconsdir}/hicolor/*/*/*.png
242%{_iconsdir}/hicolor/*/*/*.svg
bbeef7c2
PZ
243%{_desktopdir}/*.desktop
244
245%files libs
246%defattr(644,root,root,755)
247%attr(755,root,root) %{_libdir}/libgnome-window-settings.so.*.*.*
2b3469b3 248%attr(755,root,root) %ghost %{_libdir}/libgnome-window-settings.so.1
bbeef7c2
PZ
249
250%files devel
251%defattr(644,root,root,755)
252%attr(755,root,root) %{_libdir}/libgnome-window-settings.so
253%{_libdir}/libgnome-window-settings.la
bbeef7c2 254%{_includedir}/gnome-window-settings-2.0
bbeef7c2 255%{_pkgconfigdir}/gnome-window-settings-2.0.pc
167395bb 256%{_datadir}/pkgconfig/gnome-default-applications.pc
bbeef7c2
PZ
257%{_datadir}/pkgconfig/gnome-keybindings.pc
258
259%files static
260%defattr(644,root,root,755)
261%{_libdir}/libgnome-window-settings.a
This page took 1.908552 seconds and 4 git commands to generate.