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