]>
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 |
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 | |
5d65ebf7 | 12 | Version: 3.8.0 |
81e3c1bf | 13 | Release: 1 |
bbeef7c2 PZ |
14 | Epoch: 1 |
15 | License: GPL v2+ | |
16 | Group: X11/Applications | |
5d65ebf7 MB |
17 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.8/%{name}-%{version}.tar.xz |
18 | # Source0-md5: de81d26dfeaf197100f47c2eef4599e9 | |
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 |
bbeef7c2 | 71 | Requires(post,postun): shared-mime-info |
03729506 | 72 | Requires: accountsservice |
de7f6995 | 73 | Requires: cups-pk-helper |
bbeef7c2 | 74 | Requires: desktop-file-utils |
5d65ebf7 MB |
75 | Requires: gnome-settings-daemon >= 1:3.8.0 |
76 | Requires: gsettings-desktop-schemas >= 3.8.0 | |
03729506 | 77 | Requires: hicolor-icon-theme |
a7a15a10 | 78 | Suggests: libcanberra-gnome |
6908e703 MB |
79 | # info panel needs glxinfo |
80 | Suggests: mesa-utils | |
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 | |
5d65ebf7 MB |
138 | %package -n bash-completion-gnome-control-center |
139 | Summary: bash-completion for gnome-control-center | |
140 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla gnome-control-center | |
141 | Group: Applications/Shells | |
142 | Requires: bash-completion >= 2.0 | |
143 | ||
144 | %description -n bash-completion-gnome-control-center | |
145 | bash-completion for gnome-control-center. | |
146 | ||
147 | %description -n bash-completion-gnome-control-center -l pl.UTF-8 | |
148 | Bashowe uzupełnianie nazw dla gnome-control-center. | |
149 | ||
bbeef7c2 PZ |
150 | %prep |
151 | %setup -q | |
a1824854 | 152 | %patch0 -p1 |
dbae2c4e | 153 | |
bbeef7c2 | 154 | %build |
bbeef7c2 PZ |
155 | %{__intltoolize} |
156 | %{__libtoolize} | |
5d65ebf7 | 157 | %{__aclocal} -I m4 -I libgd |
bbeef7c2 | 158 | %{__autoconf} |
2b3469b3 | 159 | %{__autoheader} |
bbeef7c2 PZ |
160 | %{__automake} |
161 | %configure \ | |
efadd9ff | 162 | --disable-silent-rules \ |
bbeef7c2 | 163 | --disable-update-mimedb \ |
03729506 | 164 | --with-libsocialweb \ |
49c1b881 | 165 | %{__enable_disable ibus ibus} \ |
bbeef7c2 PZ |
166 | X_EXTRA_LIBS="-lXext" |
167 | %{__make} | |
168 | ||
169 | %install | |
170 | rm -rf $RPM_BUILD_ROOT | |
171 | ||
172 | %{__make} install \ | |
173 | DESTDIR=$RPM_BUILD_ROOT | |
174 | ||
dbae2c4e | 175 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
176 | |
177 | %clean | |
178 | rm -rf $RPM_BUILD_ROOT | |
179 | ||
180 | %post | |
bbeef7c2 PZ |
181 | %update_mime_database |
182 | %update_desktop_database_post | |
183 | %update_icon_cache hicolor | |
184 | ||
bbeef7c2 | 185 | %postun |
bbeef7c2 PZ |
186 | %update_mime_database |
187 | %update_desktop_database_postun | |
188 | %update_icon_cache hicolor | |
189 | ||
bbeef7c2 PZ |
190 | %files -f %{name}.lang |
191 | %defattr(644,root,root,755) | |
192 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
2b3469b3 | 193 | %attr(755,root,root) %{_bindir}/gnome-control-center |
5d65ebf7 MB |
194 | %attr(755,root,root) %{_libdir}/cc-remote-login-helper |
195 | %attr(755,root,root) %{_libdir}/gnome-control-center-search-provider | |
196 | %{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service | |
197 | %{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini | |
eb5b20d5 | 198 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy |
5d65ebf7 | 199 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy |
49c1b881 ŁK |
200 | %{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy |
201 | %{_datadir}/polkit-1/rules.d/gnome-control-center.rules | |
bbeef7c2 | 202 | %{_datadir}/gnome-control-center |
03729506 | 203 | %{_datadir}/sounds/gnome |
bbeef7c2 PZ |
204 | %{_iconsdir}/hicolor/*/*/*.png |
205 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 | 206 | %{_desktopdir}/*.desktop |
03729506 | 207 | %{_pixmapsdir}/faces |
49c1b881 | 208 | %{_mandir}/man1/gnome-control-center.1* |
bbeef7c2 | 209 | |
bbeef7c2 PZ |
210 | %files devel |
211 | %defattr(644,root,root,755) | |
03729506 | 212 | %{_npkgconfigdir}/gnome-keybindings.pc |
5d65ebf7 MB |
213 | |
214 | %files -n bash-completion-gnome-control-center | |
215 | %defattr(644,root,root,755) | |
216 | %{_datadir}/bash-completion/completions/gnome-control-center |