]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- up to version 2.9.4, needs patch review, cleanups and maybe splitting nautilus...
[packages/control-center.git] / control-center.spec
1 Summary:        GNOME control center
2 Summary(es):    El centro de controle del GNOME
3 Summary(pl):    Centrum kontroli GNOME
4 Summary(pt_BR): O Centro de Controle do GNOME
5 Summary(uk):    ãÅÎÔÒ ËÅÒÕ×ÁÎÎÑ GNOME
6 Summary(ru):    ãÅÎÔÒ ÕÐÒÁ×ÌÅÎÉÑ GNOME
7 Name:           control-center
8 Version:        2.9.4
9 Release:        0.1
10 Epoch:          1
11 License:        GPL
12 Group:          X11/Applications
13 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.9/%{name}-%{version}.tar.bz2
14 # Source0-md5:  b95677dc4caf09c1143804bc54f1b468
15 #Patch0:                %{name}-fontconfig.patch
16 Patch1:         %{name}-randr.patch
17 #Patch2:                %{name}-def-apps-capplet.patch
18 Patch3:         %{name}-wm_properties-dir.patch
19 Patch4:         %{name}-additional-metacity-keybinding.patch
20 #Patch5:                %{name}-capplets-dir.patch - needs fixes
21 Patch6:         %{name}-dpi.patch
22 #Patch7:                %{name}-reduced_resources.patch
23 #Patch8:                %{name}-def-apps-capplet-browsers.patch
24 #Patch9:                %{name}-evolution.patch
25 #Patch10:       %{name}-capplet.patch
26 Patch11:        %{name}-desktop.patch
27 URL:            http://www.gnome.org/
28 Icon:           control-center.gif
29 BuildRequires:  GConf2-devel >= 2.8.0
30 BuildRequires:  ORBit2-devel >= 1:2.12.0
31 BuildRequires:  audiofile >= 1:0.2.6
32 BuildRequires:  autoconf
33 BuildRequires:  automake
34 BuildRequires:  bison
35 BuildRequires:  flex
36 BuildRequires:  esound-devel
37 BuildRequires:  findutils
38 BuildRequires:  gettext-devel
39 BuildRequires:  gnome-desktop-devel >= 2.8.0
40 BuildRequires:  gnome-menus-devel
41 BuildRequires:  gnome-vfs2-devel >= 2.8.0
42 BuildRequires:  gstreamer-plugins-devel >= 0.8.4
43 BuildRequires:  gtk+2-devel >= 2:2.6.1
44 BuildRequires:  intltool >= 0.30
45 BuildRequires:  libglade2-devel >= 1:2.4.0
46 BuildRequires:  libgnomeui-devel >= 2.8.0
47 BuildRequires:  libxml2-devel >= 2.6.13
48 BuildRequires:  libxklavier-devel >= 1.14
49 BuildRequires:  libtool
50 BuildRequires:  metacity-devel >= 2:2.8.5
51 BuildRequires:  nautilus-devel >= 2.8.0
52 BuildRequires:  scrollkeeper >= 0.3.12
53 BuildRequires:  startup-notification-devel >= 0.7
54 BuildRequires:  xft-devel >= 2.1.1
55 PreReq:         /sbin/ldconfig
56 PreReq:         scrollkeeper
57 Requires(post): GConf2
58 Requires:       gnome-vfs2 >= 2.8.0
59 Obsoletes:      acme
60 Obsoletes:      fontilus
61 Obsoletes:      gnome
62 Obsoletes:      themus
63 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64
65 %description
66 A Configuration tool for easily setting up your GNOME environment.
67 GNOME is the GNU Network Object Model Environment. That's a fancy name
68 but really GNOME is a nice GUI desktop environment. It makes using
69 your computer easy, powerful, and easy to configure.
70
71 %description -l es
72 El control-center es una herramienta para una configuración facilitada
73 el entorno GNOME.
74
75 %description -l pl
76 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
77 Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
78 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
79 jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
80 proste, wydajne i ³atwe w konfiguracji.
81
82 %description -l pt_BR
83 O control-center é uma ferramenta para facilmente configurar seu
84 ambiente GNOME.
85
86 %description -l ru
87 ðÁËÅÔ control-center ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ, ÐÏÚ×ÏÌÑÀÝÉÅ ÎÁÓÔÒÁÉ×ÁÔØ ÓÒÅÄÕ
88 GNOME ×ÁÛÅÊ ÓÉÓÔÅÍÙ (ÔÁËÉÅ ×ÅÝÉ ËÁË ÆÏΠÒÁÂÏÞÅÇÏ ÓÔÏÌÁ É ÔÅÍÙ,
89 ÐÒÏÇÒÁÍÍÁ ÓÏÈÒÁÎÅÎÉÑ ÜËÒÁÎÁ, ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍÎÙÅ Ú×ÕËÉ,
90 ÐÏ×ÅÄÅÎÉÅ ÍÙÛÉ É ÄÒ.)
91
92 üÔÏÔ ÐÁËÅÔ ÎÕÖÅÎ, ÅÓÌÉ ×Ù ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÅ ÓÒÅÄÕ GNOME.
93
94 %description -l uk
95 ðÁËÅÔ control-center Í¦ÓÔÉÔØ ÕÔÉ̦ÔÉ, Ñ˦ ÄÏÚ×ÏÌÑÀÔØ ÎÁÓÔÒÏÀ×ÁÔÉ
96 ÓÅÒÅÄÏ×ÉÝÅ GNOME ×ÁÛϧ ÓÉÓÔÅÍÉ (ÔÁ˦ ÒÅÞ¦ ÑË ÆÏΠÒÏÂÏÞÏÇÏ ÓÔÏÌÕ ÔÁ
97 ÔÅÍÉ, ÐÒÏÇÒÁÍÁ ÚÂÅÒÅÖÅÎÎÑ ÅËÒÁÎÕ, ×¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍΦ Ú×ÕËÉ,
98 ÐÏ×ÅĦÎËÁ ÍÉÛ¦ ÔÁ ¦Î.)
99
100 ãÅÊ ÐÁËÅÔ ÐÏÔÒ¦ÂÎÉÊ, ÑËÝÏ ×É ×ÓÔÁÎÏ×ÌÀ¤ÔÅ ÓÅÒÅÄÏ×ÉÝÅ GNOME.
101
102 %package devel
103 Summary:        GNOME Control-Center header files
104 Summary(pl):    Pliki nag³ówkowe bibliotek GNOME Control-Center
105 Group:          X11/Development/Libraries
106 Requires:       %{name} = %{epoch}:%{version}-%{release}
107
108 %description devel
109 GNOME Control-Center header files.
110
111 %description devel -l pl
112 Pliki nag³ówkowe bibliotek GNOME Control-Center
113
114 %package static
115 Summary:        GNOME Control-Center static libraries
116 Summary(pl):    Statyczne biblioteki GNOME Control-Center
117 Group:          X11/Development/Libraries
118 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
119
120 %description static
121 GNOME Control-Center static libraries.
122
123 %description static -l pl
124 Statyczne biblioteki GNOME Control-Center.
125
126 %prep
127 %setup -q
128 #%patch0 -p1 -b .wiget
129 %patch1 -p1
130 ##%patch2 -p1
131 %patch3 -p1
132 %patch4 -p1
133 #%patch5 -p1
134 %patch6 -p1
135 #%patch7 -p1
136 #%patch8 -p1 
137 #%patch9 -p1
138 #%patch10 -p1
139 %patch11 -p1
140
141 %build
142 glib-gettextize --copy --force
143 intltoolize --copy --force
144 %{__libtoolize}
145 %{__aclocal}
146 %{__autoheader}
147 %{__autoconf}
148 %{__automake}
149 %configure \
150         --disable-schemas-install \
151         --enable-gstreamer \
152         X_EXTRA_LIBS="-lXext"
153
154 %{__make}
155
156 %install
157 rm -rf $RPM_BUILD_ROOT
158
159 %{__make} install \
160         DESTDIR=$RPM_BUILD_ROOT
161
162 #mv $RPM_BUILD_ROOT%{_iconsdir}/gnome/48x48/apps/accessibility-directory.png \
163 #       $RPM_BUILD_ROOT%{_pixmapsdir}
164
165 # no static modules - shut up check-files
166 rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la}
167 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions*/*.{a,la}
168 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,la}
169
170 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
171
172 %find_lang %{name} --with-gnome --all-name
173
174 %clean
175 rm -rf $RPM_BUILD_ROOT
176
177 %post
178 /sbin/ldconfig
179 %gconf_schema_install
180
181 %postun -p /sbin/ldconfig
182
183 %files -f %{name}.lang
184 %defattr(644,root,root,755)
185 %doc AUTHORS ChangeLog NEWS README
186 %{_sysconfdir}/gconf/schemas/*
187 %{_sysconfdir}/gnome-vfs-2.0/modules/*
188 %attr(755,root,root) %{_bindir}/*
189 #%attr(755,root,root) %{_libdir}/fontilus-context-menu
190 %attr(755,root,root) %{_libdir}/gnome-settings-daemon
191 %attr(755,root,root) %{_libdir}/lib*.so.*.*
192 %attr(755,root,root) %{_libdir}/nautilus/extensions*/*.so
193 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/lib*.so
194 %attr(755,root,root) %{_libdir}/window-manager-settings/*.so
195 %dir %{_libdir}/window-manager-settings
196 %{_libdir}/bonobo/servers/*
197 #%{_datadir}/application-registry/*
198 %{_datadir}/control-center-2.0
199 %{_datadir}/gnome/cursor-fonts
200 %{_datadir}/gnome/vfolders/*
201 #%{_datadir}/gnome-2.0/ui/*
202 #%{_datadir}/gnome/capplets
203 %{_datadir}/idl/*
204 #%{_datadir}/mime-info/*
205 %{_iconsdir}/*/*/*/gnome-control-center.png
206 %{_pixmapsdir}/*.png
207 %{_desktopdir}/*
208
209 %files devel
210 %defattr(644,root,root,755)
211 %attr(755,root,root) %{_libdir}/lib*.so
212 %{_libdir}/lib*.la
213 %{_includedir}/gnome-window-settings-2.0
214 %{_pkgconfigdir}/*.pc
215
216 %files static
217 %defattr(644,root,root,755)
218 %{_libdir}/*.a
This page took 0.114789 seconds and 3 git commands to generate.