]>
Commit | Line | Data |
---|---|---|
eb5b20d5 ŁK |
1 | # |
2 | # Conditional build: | |
c4f999ae | 3 | %bcond_without ibus # ibus support |
06703e9c | 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 | |
439c5e9e | 12 | Version: 3.14.1 |
135841f8 | 13 | Release: 1 |
bbeef7c2 PZ |
14 | Epoch: 1 |
15 | License: GPL v2+ | |
16 | Group: X11/Applications | |
135841f8 | 17 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.14/%{name}-%{version}.tar.xz |
439c5e9e | 18 | # Source0-md5: 80ac2767307691a36a13b9f3cae68c51 |
5d65ebf7 | 19 | Patch0: krb5.patch |
bbeef7c2 | 20 | URL: http://www.gnome.org/ |
d78b263e | 21 | BuildRequires: ModemManager-devel >= 1.0.0 |
4b3abb10 | 22 | # use libnm-gtk - will use correct NM version |
5d65ebf7 MB |
23 | BuildRequires: NetworkManager-gtk-lib-devel >= 0.9.8 |
24 | BuildRequires: OpenGL-devel | |
25 | BuildRequires: accountsservice-devel >= 0.6.30 | |
bbeef7c2 | 26 | BuildRequires: autoconf |
eb5b20d5 | 27 | BuildRequires: automake >= 1:1.11 |
49c1b881 ŁK |
28 | BuildRequires: cheese-devel >= 3.6.0 |
29 | BuildRequires: clutter-gtk-devel | |
6a6da2bb | 30 | BuildRequires: colord-devel >= 0.1.34 |
5d65ebf7 | 31 | BuildRequires: colord-gtk-devel >= 0.1.24 |
03729506 | 32 | BuildRequires: cups-devel >= 1.4 |
793a5ee7 | 33 | BuildRequires: docbook-dtd412-xml |
81e3c1bf | 34 | BuildRequires: gdk-pixbuf2-devel >= 2.24.0 |
03729506 | 35 | BuildRequires: gettext-devel >= 0.17 |
43324e9b MB |
36 | BuildRequires: glib2-devel >= 1:2.40.0 |
37 | BuildRequires: gnome-bluetooth-devel >= 3.12.0 | |
4ee0ad5b | 38 | BuildRequires: gnome-common >= 2.24.0 |
43324e9b | 39 | BuildRequires: gnome-desktop-devel >= 3.12.0 |
81e3c1bf | 40 | BuildRequires: gnome-menus-devel >= 3.4.0 |
43324e9b | 41 | BuildRequires: gnome-online-accounts-devel >= 3.10.0 |
5d65ebf7 | 42 | BuildRequires: gnome-settings-daemon-devel >= 1:3.8.0 |
43324e9b | 43 | BuildRequires: grilo-devel >= 0.2.6 |
135841f8 | 44 | BuildRequires: gsettings-desktop-schemas-devel >= 3.14.0 |
49c1b881 | 45 | BuildRequires: gstreamer-devel >= 1.0 |
135841f8 | 46 | BuildRequires: gtk+3-devel >= 3.14.0 |
49c1b881 | 47 | BuildRequires: heimdal-devel |
6a6da2bb | 48 | %{?with_ibus:BuildRequires: ibus-devel >= 1.5.2} |
03729506 | 49 | BuildRequires: intltool >= 0.40.1 |
03729506 | 50 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
03729506 | 51 | BuildRequires: libgtop-devel |
4b3abb10 | 52 | BuildRequires: libnotify-devel >= 0.7.3 |
6a6da2bb MB |
53 | BuildRequires: libpwquality-devel >= 1.2.2 |
54 | BuildRequires: libsmbclient-devel | |
6a6da2bb | 55 | BuildRequires: libsoup-devel |
03729506 | 56 | BuildRequires: libtool >= 2:2.2 |
5d65ebf7 | 57 | BuildRequires: libwacom-devel >= 0.7 |
2b3469b3 | 58 | BuildRequires: libxml2-devel >= 1:2.6.31 |
bbeef7c2 | 59 | BuildRequires: pkgconfig |
eb5b20d5 | 60 | BuildRequires: polkit-devel >= 0.103 |
49c1b881 | 61 | BuildRequires: pulseaudio-devel >= 2.0 |
dbae2c4e | 62 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
bbeef7c2 | 63 | BuildRequires: rpmbuild(macros) >= 1.311 |
4b3abb10 | 64 | BuildRequires: tar >= 1:1.22 |
43324e9b | 65 | BuildRequires: upower-devel >= 0.99.0 |
5d65ebf7 | 66 | BuildRequires: xorg-lib-libXi-devel >= 1.2 |
bbeef7c2 PZ |
67 | BuildRequires: xorg-lib-libXxf86misc-devel |
68 | BuildRequires: xorg-lib-libxkbfile-devel | |
4b3abb10 | 69 | BuildRequires: xz |
49c1b881 | 70 | BuildRequires: yelp-tools |
bbeef7c2 | 71 | Requires(post,postun): desktop-file-utils |
491e395f | 72 | Requires(post,postun): gtk-update-icon-cache |
03729506 | 73 | Requires: accountsservice |
de7f6995 | 74 | Requires: cups-pk-helper |
bbeef7c2 | 75 | Requires: desktop-file-utils |
43324e9b MB |
76 | Requires: glib2 >= 1:2.40.0 |
77 | Requires: gnome-desktop >= 3.12.0 | |
5d65ebf7 | 78 | Requires: gnome-settings-daemon >= 1:3.8.0 |
135841f8 MB |
79 | Requires: gsettings-desktop-schemas >= 3.14.0 |
80 | Requires: gtk+3 >= 3.14.0 | |
03729506 | 81 | Requires: hicolor-icon-theme |
a7a15a10 | 82 | Suggests: libcanberra-gnome |
6908e703 MB |
83 | # info panel needs glxinfo |
84 | Suggests: mesa-utils | |
03729506 | 85 | Suggests: mousetweaks >= 3.0.0 |
bbeef7c2 PZ |
86 | Provides: control-center = %{epoch}:%{version}-%{release} |
87 | Obsoletes: acme | |
88 | Obsoletes: control-center | |
eb5b20d5 | 89 | Obsoletes: control-center-libs |
bbeef7c2 PZ |
90 | Obsoletes: fontilus |
91 | Obsoletes: gnome | |
eb5b20d5 | 92 | Obsoletes: gnome-control-center-libs |
03729506 | 93 | Obsoletes: gnome-media-volume-control |
bbeef7c2 | 94 | Obsoletes: themus |
c036b520 | 95 | # sr@Latn vs. sr@latin |
96 | Conflicts: glibc-misc < 6:2.7 | |
bbeef7c2 PZ |
97 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
98 | ||
99 | %description | |
100 | A Configuration tool for easily setting up your GNOME environment. | |
101 | ||
102 | %description -l es.UTF-8 | |
103 | El control-center es una herramienta para una configuración facilitada | |
104 | el entorno GNOME. | |
105 | ||
106 | %description -l pl.UTF-8 | |
107 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
108 | ||
109 | %description -l pt_BR.UTF-8 | |
110 | O Control Center é uma ferramenta para facilmente configurar seu | |
111 | ambiente GNOME. | |
112 | ||
113 | %description -l ru.UTF-8 | |
114 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
115 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
116 | программа сохранения экрана, оконный менеджер, системные звуки, | |
117 | поведение мыши и др.) | |
118 | ||
119 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
120 | ||
121 | %description -l uk.UTF-8 | |
122 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
123 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
124 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
125 | поведінка миші та ін.) | |
126 | ||
127 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
128 | ||
bbeef7c2 | 129 | %package devel |
eb5b20d5 ŁK |
130 | Summary: GNOME Control Center development files |
131 | Summary(pl.UTF-8): Pliki programistyczne GNOME Control Center | |
bbeef7c2 | 132 | Group: X11/Development/Libraries |
567fe714 | 133 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
134 | Obsoletes: control-center-devel |
135 | ||
136 | %description devel | |
eb5b20d5 | 137 | GNOME Control Center development files. |
bbeef7c2 PZ |
138 | |
139 | %description devel -l pl.UTF-8 | |
eb5b20d5 | 140 | Pliki programistyczne GNOME Control Center. |
bbeef7c2 | 141 | |
5d65ebf7 MB |
142 | %package -n bash-completion-gnome-control-center |
143 | Summary: bash-completion for gnome-control-center | |
144 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla gnome-control-center | |
145 | Group: Applications/Shells | |
146 | Requires: bash-completion >= 2.0 | |
e9031216 ER |
147 | %if "%{_rpmversion}" >= "5" |
148 | BuildArch: noarch | |
149 | %endif | |
5d65ebf7 MB |
150 | |
151 | %description -n bash-completion-gnome-control-center | |
152 | bash-completion for gnome-control-center. | |
153 | ||
154 | %description -n bash-completion-gnome-control-center -l pl.UTF-8 | |
155 | Bashowe uzupełnianie nazw dla gnome-control-center. | |
156 | ||
bbeef7c2 PZ |
157 | %prep |
158 | %setup -q | |
a1824854 | 159 | %patch0 -p1 |
dbae2c4e | 160 | |
bbeef7c2 | 161 | %build |
bbeef7c2 PZ |
162 | %{__intltoolize} |
163 | %{__libtoolize} | |
5d65ebf7 | 164 | %{__aclocal} -I m4 -I libgd |
bbeef7c2 | 165 | %{__autoconf} |
2b3469b3 | 166 | %{__autoheader} |
bbeef7c2 PZ |
167 | %{__automake} |
168 | %configure \ | |
efadd9ff | 169 | --disable-silent-rules \ |
bbeef7c2 | 170 | --disable-update-mimedb \ |
49c1b881 | 171 | %{__enable_disable ibus ibus} \ |
bbeef7c2 PZ |
172 | X_EXTRA_LIBS="-lXext" |
173 | %{__make} | |
174 | ||
175 | %install | |
176 | rm -rf $RPM_BUILD_ROOT | |
bbeef7c2 PZ |
177 | %{__make} install \ |
178 | DESTDIR=$RPM_BUILD_ROOT | |
179 | ||
dbae2c4e | 180 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
181 | |
182 | %clean | |
183 | rm -rf $RPM_BUILD_ROOT | |
184 | ||
185 | %post | |
bbeef7c2 PZ |
186 | %update_desktop_database_post |
187 | %update_icon_cache hicolor | |
188 | ||
bbeef7c2 | 189 | %postun |
bbeef7c2 PZ |
190 | %update_desktop_database_postun |
191 | %update_icon_cache hicolor | |
192 | ||
bbeef7c2 PZ |
193 | %files -f %{name}.lang |
194 | %defattr(644,root,root,755) | |
195 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
2b3469b3 | 196 | %attr(755,root,root) %{_bindir}/gnome-control-center |
5d65ebf7 MB |
197 | %attr(755,root,root) %{_libdir}/cc-remote-login-helper |
198 | %attr(755,root,root) %{_libdir}/gnome-control-center-search-provider | |
6a6da2bb | 199 | %{_datadir}/dbus-1/services/org.gnome.ControlCenter.service |
5d65ebf7 MB |
200 | %{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service |
201 | %{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini | |
eb5b20d5 | 202 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy |
5d65ebf7 | 203 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy |
49c1b881 ŁK |
204 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy |
205 | %{_datadir}/polkit-1/rules.d/gnome-control-center.rules | |
bbeef7c2 | 206 | %{_datadir}/gnome-control-center |
03729506 | 207 | %{_datadir}/sounds/gnome |
bbeef7c2 PZ |
208 | %{_iconsdir}/hicolor/*/*/*.png |
209 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 | 210 | %{_desktopdir}/*.desktop |
03729506 | 211 | %{_pixmapsdir}/faces |
49c1b881 | 212 | %{_mandir}/man1/gnome-control-center.1* |
bbeef7c2 | 213 | |
bbeef7c2 PZ |
214 | %files devel |
215 | %defattr(644,root,root,755) | |
03729506 | 216 | %{_npkgconfigdir}/gnome-keybindings.pc |
5d65ebf7 MB |
217 | |
218 | %files -n bash-completion-gnome-control-center | |
219 | %defattr(644,root,root,755) | |
220 | %{_datadir}/bash-completion/completions/gnome-control-center |