]>
Commit | Line | Data |
---|---|---|
eb5b20d5 ŁK |
1 | # |
2 | # Conditional build: | |
6908e703 | 3 | %bcond_without ibus # ibus support need not yet released ibus 1.5 or at least devel 1.4.99 version |
0f6deb35 | 4 | %bcond_without systemd # use systemd for session tracking instead of ConsoleKit (fallback to ConsoleKit on runtime) |
eb5b20d5 | 5 | # |
bbeef7c2 PZ |
6 | Summary: GNOME Control Center |
7 | Summary(es.UTF-8): El centro de controle del GNOME | |
8 | Summary(pl.UTF-8): Centrum Kontroli GNOME | |
9 | Summary(pt_BR.UTF-8): O Centro de Controle do GNOME | |
10 | Summary(ru.UTF-8): Центр управления GNOME | |
11 | Summary(uk.UTF-8): Центр керування GNOME | |
12 | Name: gnome-control-center | |
6908e703 | 13 | Version: 3.6.3 |
81e3c1bf | 14 | Release: 1 |
bbeef7c2 PZ |
15 | Epoch: 1 |
16 | License: GPL v2+ | |
17 | Group: X11/Applications | |
49c1b881 | 18 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.6/%{name}-%{version}.tar.xz |
6908e703 | 19 | # Source0-md5: 13474a477658ccbca7484918edfc19d3 |
87e93490 | 20 | Patch0: system-locale-archive-path.patch |
9982dcf8 | 21 | Patch1: configure-gettext.patch |
9043f6d3 | 22 | Patch2: systemd-fallback.patch |
49c1b881 | 23 | Patch3: krb5.patch |
bbeef7c2 | 24 | URL: http://www.gnome.org/ |
4b3abb10 ŁK |
25 | # use libnm-gtk - will use correct NM version |
26 | BuildRequires: NetworkManager-gtk-lib-devel >= 0.9.1.90-2 | |
bbeef7c2 | 27 | BuildRequires: autoconf |
eb5b20d5 | 28 | BuildRequires: automake >= 1:1.11 |
49c1b881 ŁK |
29 | BuildRequires: cheese-devel >= 3.6.0 |
30 | BuildRequires: clutter-gtk-devel | |
4b3abb10 | 31 | BuildRequires: colord-devel >= 0.1.8 |
03729506 | 32 | BuildRequires: cups-devel >= 1.4 |
2b3469b3 | 33 | BuildRequires: dbus-glib-devel >= 0.74 |
793a5ee7 | 34 | BuildRequires: docbook-dtd412-xml |
81e3c1bf | 35 | BuildRequires: gdk-pixbuf2-devel >= 2.24.0 |
03729506 | 36 | BuildRequires: gettext-devel >= 0.17 |
81e3c1bf | 37 | BuildRequires: glib2-devel >= 1:2.32.0 |
49c1b881 | 38 | BuildRequires: gnome-bluetooth-devel >= 3.6.0 |
4ee0ad5b | 39 | BuildRequires: gnome-common >= 2.24.0 |
49c1b881 | 40 | BuildRequires: gnome-desktop-devel >= 3.6.0 |
81e3c1bf | 41 | BuildRequires: gnome-menus-devel >= 3.4.0 |
49c1b881 ŁK |
42 | BuildRequires: gnome-online-accounts-devel >= 3.6.0 |
43 | BuildRequires: gnome-settings-daemon-devel >= 1:3.6.0 | |
44 | BuildRequires: gsettings-desktop-schemas-devel >= 3.6.0 | |
45 | BuildRequires: gstreamer-devel >= 1.0 | |
46 | BuildRequires: gtk+3-devel >= 3.6.0 | |
03729506 | 47 | BuildRequires: gtk-doc >= 1.9 |
49c1b881 ŁK |
48 | BuildRequires: heimdal-devel |
49 | %{?with_ibus:BuildRequires: ibus-devel >= 1.4.99} | |
03729506 MB |
50 | BuildRequires: intltool >= 0.40.1 |
51 | BuildRequires: iso-codes | |
0f6deb35 | 52 | BuildRequires: lcms2-devel |
03729506 | 53 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
03729506 | 54 | BuildRequires: libgtop-devel |
4b3abb10 | 55 | BuildRequires: libnotify-devel >= 0.7.3 |
49c1b881 | 56 | BuildRequires: libpwquality-devel |
03729506 MB |
57 | BuildRequires: libsocialweb-devel |
58 | BuildRequires: libtool >= 2:2.2 | |
49c1b881 | 59 | BuildRequires: libwacom-devel >= 0.6 |
2b3469b3 | 60 | BuildRequires: libxml2-devel >= 1:2.6.31 |
bbeef7c2 | 61 | BuildRequires: pkgconfig |
eb5b20d5 | 62 | BuildRequires: polkit-devel >= 0.103 |
49c1b881 | 63 | BuildRequires: pulseaudio-devel >= 2.0 |
dbae2c4e | 64 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
bbeef7c2 | 65 | BuildRequires: rpmbuild(macros) >= 1.311 |
eb5b20d5 | 66 | %{?with_systemd:BuildRequires: systemd-devel} |
4b3abb10 | 67 | BuildRequires: tar >= 1:1.22 |
03729506 | 68 | BuildRequires: upower-devel >= 0.9.1 |
bbeef7c2 PZ |
69 | BuildRequires: xorg-lib-libXxf86misc-devel |
70 | BuildRequires: xorg-lib-libxkbfile-devel | |
4b3abb10 | 71 | BuildRequires: xz |
49c1b881 | 72 | BuildRequires: yelp-tools |
bbeef7c2 | 73 | Requires(post,postun): desktop-file-utils |
491e395f | 74 | Requires(post,postun): gtk-update-icon-cache |
bbeef7c2 | 75 | Requires(post,postun): shared-mime-info |
03729506 | 76 | Requires: accountsservice |
de7f6995 | 77 | Requires: cups-pk-helper |
bbeef7c2 | 78 | Requires: desktop-file-utils |
49c1b881 ŁK |
79 | Requires: gnome-settings-daemon >= 1:3.6.0 |
80 | Requires: gsettings-desktop-schemas >= 3.6.0 | |
03729506 | 81 | Requires: hicolor-icon-theme |
03729506 | 82 | Suggests: apg |
a7a15a10 | 83 | Suggests: libcanberra-gnome |
6908e703 MB |
84 | # info panel needs glxinfo |
85 | Suggests: mesa-utils | |
03729506 | 86 | Suggests: mousetweaks >= 3.0.0 |
bbeef7c2 PZ |
87 | Provides: control-center = %{epoch}:%{version}-%{release} |
88 | Obsoletes: acme | |
89 | Obsoletes: control-center | |
eb5b20d5 | 90 | Obsoletes: control-center-libs |
bbeef7c2 PZ |
91 | Obsoletes: fontilus |
92 | Obsoletes: gnome | |
eb5b20d5 | 93 | Obsoletes: gnome-control-center-libs |
03729506 | 94 | Obsoletes: gnome-media-volume-control |
bbeef7c2 | 95 | Obsoletes: themus |
c036b520 | 96 | # sr@Latn vs. sr@latin |
97 | Conflicts: glibc-misc < 6:2.7 | |
bbeef7c2 PZ |
98 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
99 | ||
100 | %description | |
101 | A Configuration tool for easily setting up your GNOME environment. | |
102 | ||
103 | %description -l es.UTF-8 | |
104 | El control-center es una herramienta para una configuración facilitada | |
105 | el entorno GNOME. | |
106 | ||
107 | %description -l pl.UTF-8 | |
108 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
109 | ||
110 | %description -l pt_BR.UTF-8 | |
111 | O Control Center é uma ferramenta para facilmente configurar seu | |
112 | ambiente GNOME. | |
113 | ||
114 | %description -l ru.UTF-8 | |
115 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
116 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
117 | программа сохранения экрана, оконный менеджер, системные звуки, | |
118 | поведение мыши и др.) | |
119 | ||
120 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
121 | ||
122 | %description -l uk.UTF-8 | |
123 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
124 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
125 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
126 | поведінка миші та ін.) | |
127 | ||
128 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
129 | ||
bbeef7c2 | 130 | %package devel |
eb5b20d5 ŁK |
131 | Summary: GNOME Control Center development files |
132 | Summary(pl.UTF-8): Pliki programistyczne GNOME Control Center | |
bbeef7c2 | 133 | Group: X11/Development/Libraries |
567fe714 | 134 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
135 | Obsoletes: control-center-devel |
136 | ||
137 | %description devel | |
eb5b20d5 | 138 | GNOME Control Center development files. |
bbeef7c2 PZ |
139 | |
140 | %description devel -l pl.UTF-8 | |
eb5b20d5 | 141 | Pliki programistyczne GNOME Control Center. |
bbeef7c2 | 142 | |
bbeef7c2 PZ |
143 | %prep |
144 | %setup -q | |
a1824854 | 145 | %patch0 -p1 |
9982dcf8 | 146 | %patch1 -p1 |
0f6deb35 | 147 | %{?with_systemd:%patch2 -p1} |
49c1b881 | 148 | %patch3 -p1 |
dbae2c4e | 149 | |
bbeef7c2 | 150 | %build |
03729506 | 151 | %{__gettextize} |
bbeef7c2 PZ |
152 | %{__intltoolize} |
153 | %{__libtoolize} | |
154 | %{__aclocal} | |
bbeef7c2 | 155 | %{__autoconf} |
2b3469b3 | 156 | %{__autoheader} |
bbeef7c2 PZ |
157 | %{__automake} |
158 | %configure \ | |
efadd9ff | 159 | --disable-silent-rules \ |
bbeef7c2 | 160 | --disable-update-mimedb \ |
03729506 | 161 | --with-libsocialweb \ |
eb5b20d5 | 162 | %{__enable_disable systemd systemd} \ |
49c1b881 | 163 | %{__enable_disable ibus ibus} \ |
bbeef7c2 PZ |
164 | X_EXTRA_LIBS="-lXext" |
165 | %{__make} | |
166 | ||
167 | %install | |
168 | rm -rf $RPM_BUILD_ROOT | |
169 | ||
170 | %{__make} install \ | |
171 | DESTDIR=$RPM_BUILD_ROOT | |
172 | ||
173 | # no static modules - shut up check-files | |
03729506 MB |
174 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{a,la} |
175 | ||
dbae2c4e | 176 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
177 | |
178 | %clean | |
179 | rm -rf $RPM_BUILD_ROOT | |
180 | ||
181 | %post | |
bbeef7c2 PZ |
182 | %update_mime_database |
183 | %update_desktop_database_post | |
184 | %update_icon_cache hicolor | |
185 | ||
bbeef7c2 | 186 | %postun |
bbeef7c2 PZ |
187 | %update_mime_database |
188 | %update_desktop_database_postun | |
189 | %update_icon_cache hicolor | |
190 | ||
bbeef7c2 PZ |
191 | %files -f %{name}.lang |
192 | %defattr(644,root,root,755) | |
193 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
2b3469b3 | 194 | %attr(755,root,root) %{_bindir}/gnome-control-center |
03729506 MB |
195 | %attr(755,root,root) %{_bindir}/gnome-sound-applet |
196 | %dir %{_libdir}/control-center-1 | |
197 | %dir %{_libdir}/control-center-1/panels | |
198 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libbackground.so | |
eb5b20d5 | 199 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libbluetooth.so |
4b3abb10 | 200 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libcolor.so |
03729506 MB |
201 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libdate_time.so |
202 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libdisplay.so | |
203 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libinfo.so | |
204 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libkeyboard.so | |
205 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libmouse-properties.so | |
206 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libnetwork.so | |
4b3abb10 | 207 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libonline-accounts.so |
03729506 MB |
208 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libregion.so |
209 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libsound.so | |
03729506 MB |
210 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libpower.so |
211 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libprinters.so | |
212 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libscreen.so | |
213 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libuniversal-access.so | |
214 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libuser-accounts.so | |
4b3abb10 | 215 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libwacom-properties.so |
03729506 | 216 | %{_sysconfdir}/xdg/autostart/gnome-sound-applet.desktop |
bbeef7c2 | 217 | %{_sysconfdir}/xdg/menus/gnomecc.menu |
eb5b20d5 | 218 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy |
49c1b881 ŁK |
219 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy |
220 | %{_datadir}/polkit-1/rules.d/gnome-control-center.rules | |
bbeef7c2 | 221 | %{_datadir}/gnome-control-center |
03729506 | 222 | %{_datadir}/sounds/gnome |
bbeef7c2 | 223 | %{_datadir}/desktop-directories/*.directory |
bbeef7c2 PZ |
224 | %{_iconsdir}/hicolor/*/*/*.png |
225 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 | 226 | %{_desktopdir}/*.desktop |
03729506 | 227 | %{_pixmapsdir}/faces |
49c1b881 | 228 | %{_mandir}/man1/gnome-control-center.1* |
bbeef7c2 | 229 | |
bbeef7c2 PZ |
230 | %files devel |
231 | %defattr(644,root,root,755) | |
03729506 | 232 | %{_npkgconfigdir}/gnome-keybindings.pc |