]> git.pld-linux.org Git - packages/gnome-control-center.git/blame - gnome-control-center.spec
- merged from DEVEL
[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
6942c252 8Version: 3.0.2
809a0990 9Release: 1
bbeef7c2
PZ
10Epoch: 1
11License: GPL v2+
12Group: X11/Applications
03729506 13Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.0/%{name}-%{version}.tar.bz2
6942c252 14# Source0-md5: 5b5601fbae8be38a313a169b0fb4d9bf
03729506 15# PLD-specific patches
87e93490 16Patch0: system-locale-archive-path.patch
9982dcf8 17Patch1: configure-gettext.patch
bbeef7c2 18URL: http://www.gnome.org/
4ee0ad5b 19BuildRequires: GConf2-devel >= 2.26.0
03729506 20BuildRequires: NetworkManager-devel >= 0.8.996
bbeef7c2 21BuildRequires: autoconf
03729506 22BuildRequires: automake >= 1:1.10
7da478c3 23BuildRequires: cheese-devel >= 3.0.1
03729506 24BuildRequires: cups-devel >= 1.4
2b3469b3 25BuildRequires: dbus-glib-devel >= 0.74
793a5ee7 26BuildRequires: docbook-dtd412-xml
03729506
MB
27BuildRequires: gdk-pixbuf2-devel >= 2.23.0
28BuildRequires: gettext-devel >= 0.17
29BuildRequires: glib2-devel >= 1:2.28.0
4ee0ad5b 30BuildRequires: gnome-common >= 2.24.0
03729506 31BuildRequires: gnome-desktop-devel >= 3.0.0
2b3469b3 32BuildRequires: gnome-doc-utils >= 0.12.1
03729506
MB
33BuildRequires: gnome-menus-devel >= 3.0.0
34BuildRequires: gnome-settings-daemon-devel >= 1:3.0.0
35BuildRequires: gsettings-desktop-schemas-devel >= 3.0.0
36BuildRequires: gstreamer-devel
37BuildRequires: gtk+3-devel >= 3.0.2
38BuildRequires: gtk-doc >= 1.9
39BuildRequires: intltool >= 0.40.1
40BuildRequires: iso-codes
41BuildRequires: libcanberra-gtk3-devel >= 0.26
42BuildRequires: libgnomekbd-devel >= 3.0.0
43BuildRequires: libgtop-devel
44BuildRequires: libsocialweb-devel
45BuildRequires: libtool >= 2:2.2
46BuildRequires: libxklavier-devel >= 5.1
2b3469b3 47BuildRequires: libxml2-devel >= 1:2.6.31
bbeef7c2 48BuildRequires: pkgconfig
03729506
MB
49BuildRequires: polkit-devel >= 0.97
50BuildRequires: pulseaudio-devel >= 0.9.16
dbae2c4e 51BuildRequires: rpmbuild(find_lang) >= 1.23
bbeef7c2
PZ
52BuildRequires: rpmbuild(macros) >= 1.311
53BuildRequires: scrollkeeper
03729506 54BuildRequires: upower-devel >= 0.9.1
bbeef7c2
PZ
55BuildRequires: xorg-lib-libXxf86misc-devel
56BuildRequires: xorg-lib-libxkbfile-devel
57Requires(post,postun): desktop-file-utils
491e395f 58Requires(post,postun): gtk-update-icon-cache
bbeef7c2
PZ
59Requires(post,postun): scrollkeeper
60Requires(post,postun): shared-mime-info
bbeef7c2 61Requires: %{name}-libs = %{epoch}:%{version}-%{release}
03729506 62Requires: accountsservice
bbeef7c2 63Requires: desktop-file-utils
03729506
MB
64Requires: gnome-settings-daemon >= 1:3.0.0
65Requires: gsettings-desktop-schemas >= 3.0.0
66Requires: hicolor-icon-theme
67Requires: libgnomekbd >= 3.0.0
68Suggests: apg
a7a15a10 69Suggests: libcanberra-gnome
03729506 70Suggests: mousetweaks >= 3.0.0
bbeef7c2
PZ
71Provides: control-center = %{epoch}:%{version}-%{release}
72Obsoletes: acme
73Obsoletes: control-center
74Obsoletes: fontilus
75Obsoletes: gnome
03729506 76Obsoletes: gnome-media-volume-control
bbeef7c2 77Obsoletes: themus
c036b520 78# sr@Latn vs. sr@latin
79Conflicts: glibc-misc < 6:2.7
bbeef7c2
PZ
80BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
81
82%description
83A Configuration tool for easily setting up your GNOME environment.
84
85%description -l es.UTF-8
86El control-center es una herramienta para una configuración facilitada
87el entorno GNOME.
88
89%description -l pl.UTF-8
90Narzędzie do łatwej konfiguracji środowiska GNOME.
91
92%description -l pt_BR.UTF-8
93O Control Center é uma ferramenta para facilmente configurar seu
94ambiente GNOME.
95
96%description -l ru.UTF-8
97Пакет Control Center содержит утилиты, позволяющие настраивать среду
98GNOME вашей системы (такие вещи как фон рабочего стола и темы,
99программа сохранения экрана, оконный менеджер, системные звуки,
100поведение мыши и др.)
101
102Этот пакет нужен, если вы устанавливаете среду GNOME.
103
104%description -l uk.UTF-8
105Пакет Control Center містить утиліти, які дозволяють настроювати
106середовище GNOME вашої системи (такі речі як фон робочого столу та
107теми, програма збереження екрану, віконний менеджер, системні звуки,
108поведінка миші та ін.)
109
110Цей пакет потрібний, якщо ви встановлюєте середовище GNOME.
111
112%package libs
113Summary: GNOME Control Center gnome-window-settings library
114Summary(pl.UTF-8): Biblioteka Control Center gnome-window-settings
2b3469b3 115Group: X11/Libraries
567fe714 116Provides: control-center-libs = %{epoch}:%{version}-%{release}
bbeef7c2
PZ
117Obsoletes: control-center-libs
118
119%description libs
120This package contains gnome-window-settings library.
121
122%description libs -l pl.UTF-8
123Pakiet ten zawiera bibliotekę gnome-window-settings.
124
125%package devel
126Summary: GNOME Control Center header files
127Summary(pl.UTF-8): Pliki nagłówkowe bibliotek GNOME Control Center
128Group: X11/Development/Libraries
129Requires: %{name}-libs = %{epoch}:%{version}-%{release}
03729506
MB
130Requires: glib2-devel >= 1:2.28.0
131Requires: gnome-desktop-devel >= 3.0.0
132Requires: gtk+3-devel >= 3.0.2
567fe714 133Provides: control-center-devel = %{epoch}:%{version}-%{release}
bbeef7c2
PZ
134Obsoletes: control-center-devel
135
136%description devel
137GNOME Control-Center header files.
138
139%description devel -l pl.UTF-8
140Pliki nagłówkowe bibliotek GNOME Control Center.
141
bbeef7c2
PZ
142%prep
143%setup -q
a1824854 144%patch0 -p1
9982dcf8 145%patch1 -p1
dbae2c4e 146
bbeef7c2
PZ
147%build
148%{__gnome_doc_prepare}
149%{__gnome_doc_common}
03729506 150%{__gettextize}
bbeef7c2
PZ
151%{__intltoolize}
152%{__libtoolize}
153%{__aclocal}
bbeef7c2 154%{__autoconf}
2b3469b3 155%{__autoheader}
bbeef7c2
PZ
156%{__automake}
157%configure \
158 --disable-schemas-install \
efadd9ff 159 --disable-silent-rules \
bbeef7c2 160 --disable-update-mimedb \
03729506 161 --with-libsocialweb \
bbeef7c2
PZ
162 X_EXTRA_LIBS="-lXext"
163%{__make}
164
165%install
166rm -rf $RPM_BUILD_ROOT
167
168%{__make} install \
169 DESTDIR=$RPM_BUILD_ROOT
170
551a2f4f 171%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
bbeef7c2 172# no static modules - shut up check-files
03729506
MB
173%{__rm} $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{a,la}
174
175# obsolete locales (nb already exists)
176%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/no
4ee0ad5b 177
dbae2c4e 178%find_lang %{name} --with-gnome --with-omf --all-name
bbeef7c2
PZ
179
180%clean
181rm -rf $RPM_BUILD_ROOT
182
183%post
bbeef7c2
PZ
184%scrollkeeper_update_post
185%update_mime_database
186%update_desktop_database_post
187%update_icon_cache hicolor
188
bbeef7c2
PZ
189%postun
190%scrollkeeper_update_postun
191%update_mime_database
192%update_desktop_database_postun
193%update_icon_cache hicolor
194
195%post libs -p /sbin/ldconfig
196%postun libs -p /sbin/ldconfig
197
198%files -f %{name}.lang
199%defattr(644,root,root,755)
200%doc AUTHORS ChangeLog MAINTAINERS NEWS README
2b3469b3 201%attr(755,root,root) %{_bindir}/gnome-control-center
03729506
MB
202%attr(755,root,root) %{_bindir}/gnome-sound-applet
203%dir %{_libdir}/control-center-1
204%dir %{_libdir}/control-center-1/panels
205%attr(755,root,root) %{_libdir}/control-center-1/panels/libbackground.so
206%attr(755,root,root) %{_libdir}/control-center-1/panels/libdate_time.so
207%attr(755,root,root) %{_libdir}/control-center-1/panels/libdisplay.so
208%attr(755,root,root) %{_libdir}/control-center-1/panels/libinfo.so
209%attr(755,root,root) %{_libdir}/control-center-1/panels/libkeyboard.so
210%attr(755,root,root) %{_libdir}/control-center-1/panels/libmouse-properties.so
211%attr(755,root,root) %{_libdir}/control-center-1/panels/libnetwork.so
212%attr(755,root,root) %{_libdir}/control-center-1/panels/libregion.so
213%attr(755,root,root) %{_libdir}/control-center-1/panels/libsound.so
214%attr(755,root,root) %{_libdir}/control-center-1/panels/libmedia.so
215%attr(755,root,root) %{_libdir}/control-center-1/panels/libpower.so
216%attr(755,root,root) %{_libdir}/control-center-1/panels/libprinters.so
217%attr(755,root,root) %{_libdir}/control-center-1/panels/libscreen.so
218%attr(755,root,root) %{_libdir}/control-center-1/panels/libuniversal-access.so
219%attr(755,root,root) %{_libdir}/control-center-1/panels/libuser-accounts.so
03729506 220%{_sysconfdir}/xdg/autostart/gnome-sound-applet.desktop
bbeef7c2 221%{_sysconfdir}/xdg/menus/gnomecc.menu
bbeef7c2 222%{_datadir}/gnome-control-center
03729506 223%{_datadir}/sounds/gnome
bbeef7c2 224%{_datadir}/desktop-directories/*.directory
bbeef7c2
PZ
225%{_iconsdir}/hicolor/*/*/*.png
226%{_iconsdir}/hicolor/*/*/*.svg
bbeef7c2 227%{_desktopdir}/*.desktop
03729506 228%{_pixmapsdir}/faces
bbeef7c2
PZ
229
230%files libs
231%defattr(644,root,root,755)
03729506
MB
232%attr(755,root,root) %{_libdir}/libgnome-control-center.so.*.*.*
233%attr(755,root,root) %ghost %{_libdir}/libgnome-control-center.so.1
bbeef7c2
PZ
234
235%files devel
236%defattr(644,root,root,755)
03729506
MB
237%attr(755,root,root) %{_libdir}/libgnome-control-center.so
238%{_includedir}/gnome-control-center-1
239%{_npkgconfigdir}/gnome-keybindings.pc
240%{_pkgconfigdir}/libgnome-control-center.pc
This page took 0.059176 seconds and 4 git commands to generate.