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