]>
Commit | Line | Data |
---|---|---|
eb5b20d5 ŁK |
1 | # |
2 | # Conditional build: | |
49c1b881 | 3 | %bcond_with 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 | |
854c3e96 | 13 | Version: 3.6.1 |
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 |
854c3e96 | 19 | # Source0-md5: 75d4979ecbd2bdb2c3d3088a2adf672a |
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 |
03729506 | 84 | Suggests: mousetweaks >= 3.0.0 |
bbeef7c2 PZ |
85 | Provides: control-center = %{epoch}:%{version}-%{release} |
86 | Obsoletes: acme | |
87 | Obsoletes: control-center | |
eb5b20d5 | 88 | Obsoletes: control-center-libs |
bbeef7c2 PZ |
89 | Obsoletes: fontilus |
90 | Obsoletes: gnome | |
eb5b20d5 | 91 | Obsoletes: gnome-control-center-libs |
03729506 | 92 | Obsoletes: gnome-media-volume-control |
bbeef7c2 | 93 | Obsoletes: themus |
c036b520 | 94 | # sr@Latn vs. sr@latin |
95 | Conflicts: glibc-misc < 6:2.7 | |
bbeef7c2 PZ |
96 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
97 | ||
98 | %description | |
99 | A Configuration tool for easily setting up your GNOME environment. | |
100 | ||
101 | %description -l es.UTF-8 | |
102 | El control-center es una herramienta para una configuración facilitada | |
103 | el entorno GNOME. | |
104 | ||
105 | %description -l pl.UTF-8 | |
106 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
107 | ||
108 | %description -l pt_BR.UTF-8 | |
109 | O Control Center é uma ferramenta para facilmente configurar seu | |
110 | ambiente GNOME. | |
111 | ||
112 | %description -l ru.UTF-8 | |
113 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
114 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
115 | программа сохранения экрана, оконный менеджер, системные звуки, | |
116 | поведение мыши и др.) | |
117 | ||
118 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
119 | ||
120 | %description -l uk.UTF-8 | |
121 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
122 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
123 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
124 | поведінка миші та ін.) | |
125 | ||
126 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
127 | ||
bbeef7c2 | 128 | %package devel |
eb5b20d5 ŁK |
129 | Summary: GNOME Control Center development files |
130 | Summary(pl.UTF-8): Pliki programistyczne GNOME Control Center | |
bbeef7c2 | 131 | Group: X11/Development/Libraries |
567fe714 | 132 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
133 | Obsoletes: control-center-devel |
134 | ||
135 | %description devel | |
eb5b20d5 | 136 | GNOME Control Center development files. |
bbeef7c2 PZ |
137 | |
138 | %description devel -l pl.UTF-8 | |
eb5b20d5 | 139 | Pliki programistyczne GNOME Control Center. |
bbeef7c2 | 140 | |
bbeef7c2 PZ |
141 | %prep |
142 | %setup -q | |
a1824854 | 143 | %patch0 -p1 |
9982dcf8 | 144 | %patch1 -p1 |
0f6deb35 | 145 | %{?with_systemd:%patch2 -p1} |
49c1b881 | 146 | %patch3 -p1 |
dbae2c4e | 147 | |
bbeef7c2 | 148 | %build |
03729506 | 149 | %{__gettextize} |
bbeef7c2 PZ |
150 | %{__intltoolize} |
151 | %{__libtoolize} | |
152 | %{__aclocal} | |
bbeef7c2 | 153 | %{__autoconf} |
2b3469b3 | 154 | %{__autoheader} |
bbeef7c2 PZ |
155 | %{__automake} |
156 | %configure \ | |
efadd9ff | 157 | --disable-silent-rules \ |
bbeef7c2 | 158 | --disable-update-mimedb \ |
03729506 | 159 | --with-libsocialweb \ |
eb5b20d5 | 160 | %{__enable_disable systemd systemd} \ |
49c1b881 | 161 | %{__enable_disable ibus ibus} \ |
bbeef7c2 PZ |
162 | X_EXTRA_LIBS="-lXext" |
163 | %{__make} | |
164 | ||
165 | %install | |
166 | rm -rf $RPM_BUILD_ROOT | |
167 | ||
168 | %{__make} install \ | |
169 | DESTDIR=$RPM_BUILD_ROOT | |
170 | ||
171 | # no static modules - shut up check-files | |
03729506 MB |
172 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{a,la} |
173 | ||
dbae2c4e | 174 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
175 | |
176 | %clean | |
177 | rm -rf $RPM_BUILD_ROOT | |
178 | ||
179 | %post | |
bbeef7c2 PZ |
180 | %update_mime_database |
181 | %update_desktop_database_post | |
182 | %update_icon_cache hicolor | |
183 | ||
bbeef7c2 | 184 | %postun |
bbeef7c2 PZ |
185 | %update_mime_database |
186 | %update_desktop_database_postun | |
187 | %update_icon_cache hicolor | |
188 | ||
bbeef7c2 PZ |
189 | %files -f %{name}.lang |
190 | %defattr(644,root,root,755) | |
191 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
2b3469b3 | 192 | %attr(755,root,root) %{_bindir}/gnome-control-center |
03729506 MB |
193 | %attr(755,root,root) %{_bindir}/gnome-sound-applet |
194 | %dir %{_libdir}/control-center-1 | |
195 | %dir %{_libdir}/control-center-1/panels | |
196 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libbackground.so | |
eb5b20d5 | 197 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libbluetooth.so |
4b3abb10 | 198 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libcolor.so |
03729506 MB |
199 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libdate_time.so |
200 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libdisplay.so | |
201 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libinfo.so | |
202 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libkeyboard.so | |
203 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libmouse-properties.so | |
204 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libnetwork.so | |
4b3abb10 | 205 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libonline-accounts.so |
03729506 MB |
206 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libregion.so |
207 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libsound.so | |
03729506 MB |
208 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libpower.so |
209 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libprinters.so | |
210 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libscreen.so | |
211 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libuniversal-access.so | |
212 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libuser-accounts.so | |
4b3abb10 | 213 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libwacom-properties.so |
03729506 | 214 | %{_sysconfdir}/xdg/autostart/gnome-sound-applet.desktop |
bbeef7c2 | 215 | %{_sysconfdir}/xdg/menus/gnomecc.menu |
eb5b20d5 | 216 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy |
49c1b881 ŁK |
217 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy |
218 | %{_datadir}/polkit-1/rules.d/gnome-control-center.rules | |
bbeef7c2 | 219 | %{_datadir}/gnome-control-center |
03729506 | 220 | %{_datadir}/sounds/gnome |
bbeef7c2 | 221 | %{_datadir}/desktop-directories/*.directory |
bbeef7c2 PZ |
222 | %{_iconsdir}/hicolor/*/*/*.png |
223 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 | 224 | %{_desktopdir}/*.desktop |
03729506 | 225 | %{_pixmapsdir}/faces |
49c1b881 | 226 | %{_mandir}/man1/gnome-control-center.1* |
bbeef7c2 | 227 | |
bbeef7c2 PZ |
228 | %files devel |
229 | %defattr(644,root,root,755) | |
03729506 | 230 | %{_npkgconfigdir}/gnome-keybindings.pc |