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