]>
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 | |
b9647ae1 MB |
12 | Version: 3.16.1 |
13 | Release: 1 | |
bbeef7c2 PZ |
14 | Epoch: 1 |
15 | License: GPL v2+ | |
16 | Group: X11/Applications | |
aebca01c | 17 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.16/%{name}-%{version}.tar.xz |
b9647ae1 | 18 | # Source0-md5: 9a2bc59afa56ee7eb57896b034e0dc99 |
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 | |
aebca01c | 25 | BuildRequires: accountsservice-devel >= 0.6.39 |
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 |
81b46770 | 35 | BuildRequires: gettext-tools >= 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 |
b9647ae1 | 41 | BuildRequires: gnome-online-accounts-devel >= 3.16.0 |
5d65ebf7 | 42 | BuildRequires: gnome-settings-daemon-devel >= 1:3.8.0 |
43324e9b | 43 | BuildRequires: grilo-devel >= 0.2.6 |
aebca01c | 44 | BuildRequires: gsettings-desktop-schemas-devel >= 3.15.4 |
49c1b881 | 45 | BuildRequires: gstreamer-devel >= 1.0 |
aebca01c | 46 | BuildRequires: gtk+3-devel >= 3.15.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 |
aebca01c | 65 | BuildRequires: udev-glib-devel |
43324e9b | 66 | BuildRequires: upower-devel >= 0.99.0 |
5d65ebf7 | 67 | BuildRequires: xorg-lib-libXi-devel >= 1.2 |
bbeef7c2 PZ |
68 | BuildRequires: xorg-lib-libXxf86misc-devel |
69 | BuildRequires: xorg-lib-libxkbfile-devel | |
4b3abb10 | 70 | BuildRequires: xz |
49c1b881 | 71 | BuildRequires: yelp-tools |
bbeef7c2 | 72 | Requires(post,postun): desktop-file-utils |
491e395f | 73 | Requires(post,postun): gtk-update-icon-cache |
03729506 | 74 | Requires: accountsservice |
de7f6995 | 75 | Requires: cups-pk-helper |
bbeef7c2 | 76 | Requires: desktop-file-utils |
43324e9b MB |
77 | Requires: glib2 >= 1:2.40.0 |
78 | Requires: gnome-desktop >= 3.12.0 | |
b9647ae1 | 79 | Requires: gnome-online-accounts >= 3.16.0 |
5d65ebf7 | 80 | Requires: gnome-settings-daemon >= 1:3.8.0 |
aebca01c ŁK |
81 | Requires: gsettings-desktop-schemas >= 3.15.4 |
82 | Requires: gtk+3 >= 3.15.0 | |
03729506 | 83 | Requires: hicolor-icon-theme |
3626efd5 | 84 | Requires: tzdata |
a7a15a10 | 85 | Suggests: libcanberra-gnome |
6908e703 MB |
86 | # info panel needs glxinfo |
87 | Suggests: mesa-utils | |
03729506 | 88 | Suggests: mousetweaks >= 3.0.0 |
bbeef7c2 PZ |
89 | Provides: control-center = %{epoch}:%{version}-%{release} |
90 | Obsoletes: acme | |
91 | Obsoletes: control-center | |
eb5b20d5 | 92 | Obsoletes: control-center-libs |
bbeef7c2 PZ |
93 | Obsoletes: fontilus |
94 | Obsoletes: gnome | |
eb5b20d5 | 95 | Obsoletes: gnome-control-center-libs |
03729506 | 96 | Obsoletes: gnome-media-volume-control |
bbeef7c2 | 97 | Obsoletes: themus |
c036b520 | 98 | # sr@Latn vs. sr@latin |
99 | Conflicts: glibc-misc < 6:2.7 | |
bbeef7c2 PZ |
100 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
101 | ||
102 | %description | |
103 | A Configuration tool for easily setting up your GNOME environment. | |
104 | ||
105 | %description -l es.UTF-8 | |
106 | El control-center es una herramienta para una configuración facilitada | |
107 | el entorno GNOME. | |
108 | ||
109 | %description -l pl.UTF-8 | |
110 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
111 | ||
112 | %description -l pt_BR.UTF-8 | |
113 | O Control Center é uma ferramenta para facilmente configurar seu | |
114 | ambiente GNOME. | |
115 | ||
116 | %description -l ru.UTF-8 | |
117 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
118 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
119 | программа сохранения экрана, оконный менеджер, системные звуки, | |
120 | поведение мыши и др.) | |
121 | ||
122 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
123 | ||
124 | %description -l uk.UTF-8 | |
125 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
126 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
127 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
128 | поведінка миші та ін.) | |
129 | ||
130 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
131 | ||
bbeef7c2 | 132 | %package devel |
eb5b20d5 ŁK |
133 | Summary: GNOME Control Center development files |
134 | Summary(pl.UTF-8): Pliki programistyczne GNOME Control Center | |
bbeef7c2 | 135 | Group: X11/Development/Libraries |
567fe714 | 136 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
137 | Obsoletes: control-center-devel |
138 | ||
139 | %description devel | |
eb5b20d5 | 140 | GNOME Control Center development files. |
bbeef7c2 PZ |
141 | |
142 | %description devel -l pl.UTF-8 | |
eb5b20d5 | 143 | Pliki programistyczne GNOME Control Center. |
bbeef7c2 | 144 | |
5d65ebf7 MB |
145 | %package -n bash-completion-gnome-control-center |
146 | Summary: bash-completion for gnome-control-center | |
147 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla gnome-control-center | |
148 | Group: Applications/Shells | |
149 | Requires: bash-completion >= 2.0 | |
e9031216 ER |
150 | %if "%{_rpmversion}" >= "5" |
151 | BuildArch: noarch | |
152 | %endif | |
5d65ebf7 MB |
153 | |
154 | %description -n bash-completion-gnome-control-center | |
155 | bash-completion for gnome-control-center. | |
156 | ||
157 | %description -n bash-completion-gnome-control-center -l pl.UTF-8 | |
158 | Bashowe uzupełnianie nazw dla gnome-control-center. | |
159 | ||
bbeef7c2 PZ |
160 | %prep |
161 | %setup -q | |
a1824854 | 162 | %patch0 -p1 |
dbae2c4e | 163 | |
bbeef7c2 | 164 | %build |
bbeef7c2 PZ |
165 | %{__intltoolize} |
166 | %{__libtoolize} | |
5d65ebf7 | 167 | %{__aclocal} -I m4 -I libgd |
bbeef7c2 | 168 | %{__autoconf} |
2b3469b3 | 169 | %{__autoheader} |
bbeef7c2 PZ |
170 | %{__automake} |
171 | %configure \ | |
efadd9ff | 172 | --disable-silent-rules \ |
bbeef7c2 | 173 | --disable-update-mimedb \ |
49c1b881 | 174 | %{__enable_disable ibus ibus} \ |
bbeef7c2 PZ |
175 | X_EXTRA_LIBS="-lXext" |
176 | %{__make} | |
177 | ||
178 | %install | |
179 | rm -rf $RPM_BUILD_ROOT | |
bbeef7c2 PZ |
180 | %{__make} install \ |
181 | DESTDIR=$RPM_BUILD_ROOT | |
182 | ||
dbae2c4e | 183 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
184 | |
185 | %clean | |
186 | rm -rf $RPM_BUILD_ROOT | |
187 | ||
188 | %post | |
bbeef7c2 PZ |
189 | %update_desktop_database_post |
190 | %update_icon_cache hicolor | |
191 | ||
bbeef7c2 | 192 | %postun |
bbeef7c2 PZ |
193 | %update_desktop_database_postun |
194 | %update_icon_cache hicolor | |
195 | ||
bbeef7c2 PZ |
196 | %files -f %{name}.lang |
197 | %defattr(644,root,root,755) | |
198 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
2b3469b3 | 199 | %attr(755,root,root) %{_bindir}/gnome-control-center |
5d65ebf7 MB |
200 | %attr(755,root,root) %{_libdir}/cc-remote-login-helper |
201 | %attr(755,root,root) %{_libdir}/gnome-control-center-search-provider | |
b9647ae1 | 202 | %{_datadir}/appdata/gnome-control-center.appdata.xml |
6a6da2bb | 203 | %{_datadir}/dbus-1/services/org.gnome.ControlCenter.service |
5d65ebf7 MB |
204 | %{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service |
205 | %{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini | |
eb5b20d5 | 206 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy |
5d65ebf7 | 207 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy |
49c1b881 ŁK |
208 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy |
209 | %{_datadir}/polkit-1/rules.d/gnome-control-center.rules | |
bbeef7c2 | 210 | %{_datadir}/gnome-control-center |
03729506 | 211 | %{_datadir}/sounds/gnome |
bbeef7c2 PZ |
212 | %{_iconsdir}/hicolor/*/*/*.png |
213 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 | 214 | %{_desktopdir}/*.desktop |
03729506 | 215 | %{_pixmapsdir}/faces |
49c1b881 | 216 | %{_mandir}/man1/gnome-control-center.1* |
bbeef7c2 | 217 | |
bbeef7c2 PZ |
218 | %files devel |
219 | %defattr(644,root,root,755) | |
03729506 | 220 | %{_npkgconfigdir}/gnome-keybindings.pc |
5d65ebf7 MB |
221 | |
222 | %files -n bash-completion-gnome-control-center | |
223 | %defattr(644,root,root,755) | |
16234678 | 224 | %{bash_compdir}/gnome-control-center |