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