]>
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 | |
89b45a21 | 12 | Version: 3.10.3 |
dc0a8514 | 13 | Release: 1 |
bbeef7c2 PZ |
14 | Epoch: 1 |
15 | License: GPL v2+ | |
16 | Group: X11/Applications | |
6a6da2bb | 17 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.10/%{name}-%{version}.tar.xz |
89b45a21 | 18 | # Source0-md5: bc79b911307c03da27c466756ed553d1 |
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 |
6a6da2bb MB |
36 | BuildRequires: glib2-devel >= 1:2.38.0 |
37 | BuildRequires: gnome-bluetooth-devel >= 3.10.0 | |
4ee0ad5b | 38 | BuildRequires: gnome-common >= 2.24.0 |
6a6da2bb | 39 | BuildRequires: gnome-desktop-devel >= 3.10.0 |
81e3c1bf | 40 | BuildRequires: gnome-menus-devel >= 3.4.0 |
39375665 | 41 | BuildRequires: gnome-online-accounts-devel >= 3.8.1 |
5d65ebf7 | 42 | BuildRequires: gnome-settings-daemon-devel >= 1:3.8.0 |
6a6da2bb | 43 | BuildRequires: gsettings-desktop-schemas-devel >= 3.10.0 |
49c1b881 | 44 | BuildRequires: gstreamer-devel >= 1.0 |
6a6da2bb | 45 | BuildRequires: gtk+3-devel >= 3.10.0 |
49c1b881 | 46 | BuildRequires: heimdal-devel |
6a6da2bb | 47 | %{?with_ibus:BuildRequires: ibus-devel >= 1.5.2} |
03729506 | 48 | BuildRequires: intltool >= 0.40.1 |
03729506 | 49 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
03729506 | 50 | BuildRequires: libgtop-devel |
4b3abb10 | 51 | BuildRequires: libnotify-devel >= 0.7.3 |
6a6da2bb MB |
52 | BuildRequires: libpwquality-devel >= 1.2.2 |
53 | BuildRequires: libsmbclient-devel | |
03729506 | 54 | BuildRequires: libsocialweb-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 |
03729506 | 65 | BuildRequires: upower-devel >= 0.9.1 |
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 |
5d65ebf7 | 76 | Requires: gnome-settings-daemon >= 1:3.8.0 |
6a6da2bb | 77 | Requires: gsettings-desktop-schemas >= 3.10.0 |
03729506 | 78 | Requires: hicolor-icon-theme |
a7a15a10 | 79 | Suggests: libcanberra-gnome |
6908e703 MB |
80 | # info panel needs glxinfo |
81 | Suggests: mesa-utils | |
03729506 | 82 | Suggests: mousetweaks >= 3.0.0 |
bbeef7c2 PZ |
83 | Provides: control-center = %{epoch}:%{version}-%{release} |
84 | Obsoletes: acme | |
85 | Obsoletes: control-center | |
eb5b20d5 | 86 | Obsoletes: control-center-libs |
bbeef7c2 PZ |
87 | Obsoletes: fontilus |
88 | Obsoletes: gnome | |
eb5b20d5 | 89 | Obsoletes: gnome-control-center-libs |
03729506 | 90 | Obsoletes: gnome-media-volume-control |
bbeef7c2 | 91 | Obsoletes: themus |
c036b520 | 92 | # sr@Latn vs. sr@latin |
93 | Conflicts: glibc-misc < 6:2.7 | |
bbeef7c2 PZ |
94 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
95 | ||
96 | %description | |
97 | A Configuration tool for easily setting up your GNOME environment. | |
98 | ||
99 | %description -l es.UTF-8 | |
100 | El control-center es una herramienta para una configuración facilitada | |
101 | el entorno GNOME. | |
102 | ||
103 | %description -l pl.UTF-8 | |
104 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
105 | ||
106 | %description -l pt_BR.UTF-8 | |
107 | O Control Center é uma ferramenta para facilmente configurar seu | |
108 | ambiente GNOME. | |
109 | ||
110 | %description -l ru.UTF-8 | |
111 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
112 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
113 | программа сохранения экрана, оконный менеджер, системные звуки, | |
114 | поведение мыши и др.) | |
115 | ||
116 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
117 | ||
118 | %description -l uk.UTF-8 | |
119 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
120 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
121 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
122 | поведінка миші та ін.) | |
123 | ||
124 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
125 | ||
bbeef7c2 | 126 | %package devel |
eb5b20d5 ŁK |
127 | Summary: GNOME Control Center development files |
128 | Summary(pl.UTF-8): Pliki programistyczne GNOME Control Center | |
bbeef7c2 | 129 | Group: X11/Development/Libraries |
567fe714 | 130 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
131 | Obsoletes: control-center-devel |
132 | ||
133 | %description devel | |
eb5b20d5 | 134 | GNOME Control Center development files. |
bbeef7c2 PZ |
135 | |
136 | %description devel -l pl.UTF-8 | |
eb5b20d5 | 137 | Pliki programistyczne GNOME Control Center. |
bbeef7c2 | 138 | |
5d65ebf7 MB |
139 | %package -n bash-completion-gnome-control-center |
140 | Summary: bash-completion for gnome-control-center | |
141 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla gnome-control-center | |
142 | Group: Applications/Shells | |
143 | Requires: bash-completion >= 2.0 | |
e9031216 ER |
144 | %if "%{_rpmversion}" >= "5" |
145 | BuildArch: noarch | |
146 | %endif | |
5d65ebf7 MB |
147 | |
148 | %description -n bash-completion-gnome-control-center | |
149 | bash-completion for gnome-control-center. | |
150 | ||
151 | %description -n bash-completion-gnome-control-center -l pl.UTF-8 | |
152 | Bashowe uzupełnianie nazw dla gnome-control-center. | |
153 | ||
bbeef7c2 PZ |
154 | %prep |
155 | %setup -q | |
a1824854 | 156 | %patch0 -p1 |
dbae2c4e | 157 | |
bbeef7c2 | 158 | %build |
bbeef7c2 PZ |
159 | %{__intltoolize} |
160 | %{__libtoolize} | |
5d65ebf7 | 161 | %{__aclocal} -I m4 -I libgd |
bbeef7c2 | 162 | %{__autoconf} |
2b3469b3 | 163 | %{__autoheader} |
bbeef7c2 PZ |
164 | %{__automake} |
165 | %configure \ | |
efadd9ff | 166 | --disable-silent-rules \ |
bbeef7c2 | 167 | --disable-update-mimedb \ |
03729506 | 168 | --with-libsocialweb \ |
49c1b881 | 169 | %{__enable_disable ibus ibus} \ |
bbeef7c2 PZ |
170 | X_EXTRA_LIBS="-lXext" |
171 | %{__make} | |
172 | ||
173 | %install | |
174 | rm -rf $RPM_BUILD_ROOT | |
bbeef7c2 PZ |
175 | %{__make} install \ |
176 | DESTDIR=$RPM_BUILD_ROOT | |
177 | ||
dbae2c4e | 178 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
179 | |
180 | %clean | |
181 | rm -rf $RPM_BUILD_ROOT | |
182 | ||
183 | %post | |
bbeef7c2 PZ |
184 | %update_desktop_database_post |
185 | %update_icon_cache hicolor | |
186 | ||
bbeef7c2 | 187 | %postun |
bbeef7c2 PZ |
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 |
5d65ebf7 MB |
195 | %attr(755,root,root) %{_libdir}/cc-remote-login-helper |
196 | %attr(755,root,root) %{_libdir}/gnome-control-center-search-provider | |
6a6da2bb | 197 | %{_datadir}/dbus-1/services/org.gnome.ControlCenter.service |
5d65ebf7 MB |
198 | %{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service |
199 | %{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini | |
eb5b20d5 | 200 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy |
5d65ebf7 | 201 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy |
49c1b881 ŁK |
202 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy |
203 | %{_datadir}/polkit-1/rules.d/gnome-control-center.rules | |
bbeef7c2 | 204 | %{_datadir}/gnome-control-center |
03729506 | 205 | %{_datadir}/sounds/gnome |
bbeef7c2 PZ |
206 | %{_iconsdir}/hicolor/*/*/*.png |
207 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 | 208 | %{_desktopdir}/*.desktop |
03729506 | 209 | %{_pixmapsdir}/faces |
49c1b881 | 210 | %{_mandir}/man1/gnome-control-center.1* |
bbeef7c2 | 211 | |
bbeef7c2 PZ |
212 | %files devel |
213 | %defattr(644,root,root,755) | |
03729506 | 214 | %{_npkgconfigdir}/gnome-keybindings.pc |
5d65ebf7 MB |
215 | |
216 | %files -n bash-completion-gnome-control-center | |
217 | %defattr(644,root,root,755) | |
218 | %{_datadir}/bash-completion/completions/gnome-control-center |