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