]>
Commit | Line | Data |
---|---|---|
bbeef7c2 PZ |
1 | Summary: GNOME Control Center |
2 | Summary(es.UTF-8): El centro de controle del GNOME | |
3 | Summary(pl.UTF-8): Centrum Kontroli GNOME | |
4 | Summary(pt_BR.UTF-8): O Centro de Controle do GNOME | |
5 | Summary(ru.UTF-8): Центр управления GNOME | |
6 | Summary(uk.UTF-8): Центр керування GNOME | |
7 | Name: gnome-control-center | |
debc9c14 | 8 | Version: 3.0.0.1 |
03729506 | 9 | Release: 1 |
bbeef7c2 PZ |
10 | Epoch: 1 |
11 | License: GPL v2+ | |
12 | Group: X11/Applications | |
03729506 | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/3.0/%{name}-%{version}.tar.bz2 |
debc9c14 | 14 | # Source0-md5: 95df9948e7476bc691ee7dc182e11104 |
03729506 MB |
15 | Patch0: locale.patch |
16 | # PLD-specific patches | |
17 | Patch1: system-locale-archive-path.patch | |
bbeef7c2 | 18 | URL: http://www.gnome.org/ |
4ee0ad5b | 19 | BuildRequires: GConf2-devel >= 2.26.0 |
03729506 | 20 | BuildRequires: NetworkManager-devel >= 0.8.996 |
bbeef7c2 | 21 | BuildRequires: autoconf |
03729506 MB |
22 | BuildRequires: automake >= 1:1.10 |
23 | BuildRequires: cheese-devel >= 3.0.0 | |
24 | BuildRequires: cups-devel >= 1.4 | |
2b3469b3 | 25 | BuildRequires: dbus-glib-devel >= 0.74 |
793a5ee7 | 26 | BuildRequires: docbook-dtd412-xml |
03729506 MB |
27 | BuildRequires: gdk-pixbuf2-devel >= 2.23.0 |
28 | BuildRequires: gettext-devel >= 0.17 | |
29 | BuildRequires: glib2-devel >= 1:2.28.0 | |
4ee0ad5b | 30 | BuildRequires: gnome-common >= 2.24.0 |
03729506 | 31 | BuildRequires: gnome-desktop-devel >= 3.0.0 |
2b3469b3 | 32 | BuildRequires: gnome-doc-utils >= 0.12.1 |
03729506 MB |
33 | BuildRequires: gnome-menus-devel >= 3.0.0 |
34 | BuildRequires: gnome-settings-daemon-devel >= 1:3.0.0 | |
35 | BuildRequires: gsettings-desktop-schemas-devel >= 3.0.0 | |
36 | BuildRequires: gstreamer-devel | |
37 | BuildRequires: gtk+3-devel >= 3.0.2 | |
38 | BuildRequires: gtk-doc >= 1.9 | |
39 | BuildRequires: intltool >= 0.40.1 | |
40 | BuildRequires: iso-codes | |
41 | BuildRequires: libcanberra-gtk3-devel >= 0.26 | |
42 | BuildRequires: libgnomekbd-devel >= 3.0.0 | |
43 | BuildRequires: libgtop-devel | |
44 | BuildRequires: libsocialweb-devel | |
45 | BuildRequires: libtool >= 2:2.2 | |
46 | BuildRequires: libxklavier-devel >= 5.1 | |
2b3469b3 | 47 | BuildRequires: libxml2-devel >= 1:2.6.31 |
bbeef7c2 | 48 | BuildRequires: pkgconfig |
03729506 MB |
49 | BuildRequires: polkit-devel >= 0.97 |
50 | BuildRequires: pulseaudio-devel >= 0.9.16 | |
dbae2c4e | 51 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
bbeef7c2 PZ |
52 | BuildRequires: rpmbuild(macros) >= 1.311 |
53 | BuildRequires: scrollkeeper | |
03729506 | 54 | BuildRequires: upower-devel >= 0.9.1 |
bbeef7c2 PZ |
55 | BuildRequires: xorg-lib-libXxf86misc-devel |
56 | BuildRequires: xorg-lib-libxkbfile-devel | |
57 | Requires(post,postun): desktop-file-utils | |
491e395f | 58 | Requires(post,postun): gtk-update-icon-cache |
bbeef7c2 PZ |
59 | Requires(post,postun): scrollkeeper |
60 | Requires(post,postun): shared-mime-info | |
61 | Requires(post,preun): GConf2 | |
62 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
03729506 | 63 | Requires: accountsservice |
bbeef7c2 | 64 | Requires: desktop-file-utils |
03729506 MB |
65 | Requires: gnome-settings-daemon >= 1:3.0.0 |
66 | Requires: gsettings-desktop-schemas >= 3.0.0 | |
67 | Requires: hicolor-icon-theme | |
68 | Requires: libgnomekbd >= 3.0.0 | |
69 | Suggests: apg | |
a7a15a10 | 70 | Suggests: libcanberra-gnome |
03729506 | 71 | Suggests: mousetweaks >= 3.0.0 |
bbeef7c2 PZ |
72 | Provides: control-center = %{epoch}:%{version}-%{release} |
73 | Obsoletes: acme | |
74 | Obsoletes: control-center | |
75 | Obsoletes: fontilus | |
76 | Obsoletes: gnome | |
03729506 | 77 | Obsoletes: gnome-media-volume-control |
bbeef7c2 | 78 | Obsoletes: themus |
c036b520 | 79 | # sr@Latn vs. sr@latin |
80 | Conflicts: glibc-misc < 6:2.7 | |
bbeef7c2 PZ |
81 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
82 | ||
83 | %description | |
84 | A Configuration tool for easily setting up your GNOME environment. | |
85 | ||
86 | %description -l es.UTF-8 | |
87 | El control-center es una herramienta para una configuración facilitada | |
88 | el entorno GNOME. | |
89 | ||
90 | %description -l pl.UTF-8 | |
91 | Narzędzie do łatwej konfiguracji środowiska GNOME. | |
92 | ||
93 | %description -l pt_BR.UTF-8 | |
94 | O Control Center é uma ferramenta para facilmente configurar seu | |
95 | ambiente GNOME. | |
96 | ||
97 | %description -l ru.UTF-8 | |
98 | Пакет Control Center содержит утилиты, позволяющие настраивать среду | |
99 | GNOME вашей системы (такие вещи как фон рабочего стола и темы, | |
100 | программа сохранения экрана, оконный менеджер, системные звуки, | |
101 | поведение мыши и др.) | |
102 | ||
103 | Этот пакет нужен, если вы устанавливаете среду GNOME. | |
104 | ||
105 | %description -l uk.UTF-8 | |
106 | Пакет Control Center містить утиліти, які дозволяють настроювати | |
107 | середовище GNOME вашої системи (такі речі як фон робочого столу та | |
108 | теми, програма збереження екрану, віконний менеджер, системні звуки, | |
109 | поведінка миші та ін.) | |
110 | ||
111 | Цей пакет потрібний, якщо ви встановлюєте середовище GNOME. | |
112 | ||
113 | %package libs | |
114 | Summary: GNOME Control Center gnome-window-settings library | |
115 | Summary(pl.UTF-8): Biblioteka Control Center gnome-window-settings | |
2b3469b3 | 116 | Group: X11/Libraries |
567fe714 | 117 | Provides: control-center-libs = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
118 | Obsoletes: control-center-libs |
119 | ||
120 | %description libs | |
121 | This package contains gnome-window-settings library. | |
122 | ||
123 | %description libs -l pl.UTF-8 | |
124 | Pakiet ten zawiera bibliotekę gnome-window-settings. | |
125 | ||
126 | %package devel | |
127 | Summary: GNOME Control Center header files | |
128 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek GNOME Control Center | |
129 | Group: X11/Development/Libraries | |
130 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
03729506 MB |
131 | Requires: glib2-devel >= 1:2.28.0 |
132 | Requires: gnome-desktop-devel >= 3.0.0 | |
133 | Requires: gtk+3-devel >= 3.0.2 | |
567fe714 | 134 | Provides: control-center-devel = %{epoch}:%{version}-%{release} |
bbeef7c2 PZ |
135 | Obsoletes: control-center-devel |
136 | ||
137 | %description devel | |
138 | GNOME Control-Center header files. | |
139 | ||
140 | %description devel -l pl.UTF-8 | |
141 | Pliki nagłówkowe bibliotek GNOME Control Center. | |
142 | ||
bbeef7c2 PZ |
143 | %prep |
144 | %setup -q | |
a1824854 | 145 | %patch0 -p1 |
e2e9f826 | 146 | %patch1 -p1 |
dbae2c4e | 147 | |
bbeef7c2 PZ |
148 | %build |
149 | %{__gnome_doc_prepare} | |
150 | %{__gnome_doc_common} | |
03729506 | 151 | %{__gettextize} |
bbeef7c2 PZ |
152 | %{__intltoolize} |
153 | %{__libtoolize} | |
154 | %{__aclocal} | |
bbeef7c2 | 155 | %{__autoconf} |
2b3469b3 | 156 | %{__autoheader} |
bbeef7c2 PZ |
157 | %{__automake} |
158 | %configure \ | |
159 | --disable-schemas-install \ | |
efadd9ff | 160 | --disable-silent-rules \ |
bbeef7c2 | 161 | --disable-update-mimedb \ |
03729506 | 162 | --with-libsocialweb \ |
bbeef7c2 PZ |
163 | X_EXTRA_LIBS="-lXext" |
164 | %{__make} | |
165 | ||
166 | %install | |
167 | rm -rf $RPM_BUILD_ROOT | |
168 | ||
169 | %{__make} install \ | |
170 | DESTDIR=$RPM_BUILD_ROOT | |
171 | ||
551a2f4f | 172 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
bbeef7c2 | 173 | # no static modules - shut up check-files |
03729506 MB |
174 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{a,la} |
175 | ||
176 | # obsolete locales (nb already exists) | |
177 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/no | |
4ee0ad5b | 178 | |
dbae2c4e | 179 | %find_lang %{name} --with-gnome --with-omf --all-name |
bbeef7c2 PZ |
180 | |
181 | %clean | |
182 | rm -rf $RPM_BUILD_ROOT | |
183 | ||
184 | %post | |
3bdde8f2 | 185 | %gconf_schema_install gnome-control-center.schemas |
bbeef7c2 PZ |
186 | %scrollkeeper_update_post |
187 | %update_mime_database | |
188 | %update_desktop_database_post | |
189 | %update_icon_cache hicolor | |
190 | ||
191 | %preun | |
3bdde8f2 | 192 | %gconf_schema_uninstall gnome-control-center.schemas |
bbeef7c2 PZ |
193 | |
194 | %postun | |
195 | %scrollkeeper_update_postun | |
196 | %update_mime_database | |
197 | %update_desktop_database_postun | |
198 | %update_icon_cache hicolor | |
199 | ||
200 | %post libs -p /sbin/ldconfig | |
201 | %postun libs -p /sbin/ldconfig | |
202 | ||
203 | %files -f %{name}.lang | |
204 | %defattr(644,root,root,755) | |
205 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
2b3469b3 | 206 | %attr(755,root,root) %{_bindir}/gnome-control-center |
03729506 MB |
207 | %attr(755,root,root) %{_bindir}/gnome-sound-applet |
208 | %dir %{_libdir}/control-center-1 | |
209 | %dir %{_libdir}/control-center-1/panels | |
210 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libbackground.so | |
211 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libdate_time.so | |
212 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libdisplay.so | |
213 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libinfo.so | |
214 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libkeyboard.so | |
215 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libmouse-properties.so | |
216 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libnetwork.so | |
217 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libregion.so | |
218 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libsound.so | |
219 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libmedia.so | |
220 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libpower.so | |
221 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libprinters.so | |
222 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libscreen.so | |
223 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libuniversal-access.so | |
224 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libuser-accounts.so | |
3bdde8f2 | 225 | %{_sysconfdir}/gconf/schemas/gnome-control-center.schemas |
03729506 | 226 | %{_sysconfdir}/xdg/autostart/gnome-sound-applet.desktop |
bbeef7c2 | 227 | %{_sysconfdir}/xdg/menus/gnomecc.menu |
bbeef7c2 | 228 | %{_datadir}/gnome-control-center |
03729506 | 229 | %{_datadir}/sounds/gnome |
bbeef7c2 | 230 | %{_datadir}/desktop-directories/*.directory |
bbeef7c2 PZ |
231 | %{_iconsdir}/hicolor/*/*/*.png |
232 | %{_iconsdir}/hicolor/*/*/*.svg | |
bbeef7c2 | 233 | %{_desktopdir}/*.desktop |
03729506 | 234 | %{_pixmapsdir}/faces |
bbeef7c2 PZ |
235 | |
236 | %files libs | |
237 | %defattr(644,root,root,755) | |
03729506 MB |
238 | %attr(755,root,root) %{_libdir}/libgnome-control-center.so.*.*.* |
239 | %attr(755,root,root) %ghost %{_libdir}/libgnome-control-center.so.1 | |
bbeef7c2 PZ |
240 | |
241 | %files devel | |
242 | %defattr(644,root,root,755) | |
03729506 MB |
243 | %attr(755,root,root) %{_libdir}/libgnome-control-center.so |
244 | %{_includedir}/gnome-control-center-1 | |
245 | %{_npkgconfigdir}/gnome-keybindings.pc | |
246 | %{_pkgconfigdir}/libgnome-control-center.pc |