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