]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- removed libwrap-devel from Requires rules (this is now in ORBit-devel rules).
[packages/control-center.git] / control-center.spec
1 Summary:        GNOME control center
2 Summary(pl):    Centrum kontroli GNOME
3 Name:           control-center
4 Version:        1.4.0.1
5 Release:        5
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications
9 Group(de):      X11/Applikationen
10 Group(pl):      X11/Aplikacje
11 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-macros.patch
13 Patch1:         %{name}-applnk.patch
14 Patch2:         %{name}-gettext.patch
15 Patch3:         %{name}-wm-properties_path.patch
16 Patch4:         %{name}-esdrelease.patch
17 Patch5:         %{name}-pldrelease.patch
18 URL:            http://www.gnome.org/
19 Icon:           control-center.gif
20 BuildRequires:  GConf-devel
21 BuildRequires:  ORBit-devel
22 BuildRequires:  autoconf
23 BuildRequires:  bison
24 BuildRequires:  flex
25 BuildRequires:  automake
26 BuildRequires:  esound-devel >= 0.2.5
27 BuildRequires:  findutils
28 BuildRequires:  gdk-pixbuf-devel >= 0.7.0
29 BuildRequires:  gettext-devel
30 BuildRequires:  gnome-libs-devel >= 1.2.12-3
31 BuildRequires:  gnome-vfs-devel >= 0.9
32 BuildRequires:  gtk+-devel >= 1.1.16
33 BuildRequires:  imlib-devel >= 1.8.2
34 BuildRequires:  xml-i18n-tools
35 BuildRequires:  oaf-devel
36 BuildRequires:  zlib-devel
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 Obsoletes:      gnome
39
40 %define         _prefix         /usr/X11R6
41 %define         _bindir         %{_prefix}/bin
42 %define         _datadir        %{_prefix}/share
43 %define         _includedir     %{_prefix}/include
44 %define         _libdir         %{_prefix}/lib
45 %define         _sysconfdir     /etc/X11/GNOME
46
47 %description
48 A Configuration tool for easily setting up your GNOME environment.
49 GNOME is the GNU Network Object Model Environment. That's a fancy name
50 but really GNOME is a nice GUI desktop environment. It makes using
51 your computer easy, powerful, and easy to configure.
52
53 %description -l pl
54 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
55 Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
56 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
57 jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
58 proste, wydajne i ³atwe w konfiguracji.
59
60 %package devel
61 Summary:        GNOME control-center includes
62 Summary(pl):    Pliki nag³ówkowe centrum kontroli GNOME
63 Group:          X11/Development/Libraries
64 Group(de):      X11/Entwicklung/Libraries
65 Group(pl):      X11/Programowanie/Biblioteki
66 Requires:       %{name} = %{version}
67
68 %description devel
69 Capplet development stuff.
70
71 %description -l pl
72 Rzeczy potrzebne do kompilacji.
73
74 %package static
75 Summary:        GNOME control-center static libraries
76 Summary(pl):    Statyczne biblioteki dla centrum kontroli GNOME
77 Group:          X11/Development/Libraries
78 Group(de):      X11/Entwicklung/Libraries
79 Group(pl):      X11/Programowanie/Biblioteki
80 Requires:       %{name}-devel = %{version}
81
82 %description static
83 GNOME control-center static libraries.
84
85 %description -l pl
86 Statyczne biblioteki dla centrum kontroli GNOME.
87
88 %prep
89 %setup -q
90 %patch0 -p1
91 %patch1 -p1
92 %patch2 -p1
93 %patch3 -p1
94 %patch4 -p1
95 %patch5 -p0
96
97 %build
98 rm -f missing
99 xml-i18n-toolize --copy --force
100 libtoolize --copy --force
101 gettextize --copy --force
102 rm -f macros/xml-i18n-tools.m4  # have it in xml-i18n-tools
103 aclocal -I macros
104 autoconf
105 automake -a -c
106 %configure 
107
108 %{__make}
109
110 %install
111 rm -rf $RPM_BUILD_ROOT
112
113 %{__make} DESTDIR=$RPM_BUILD_ROOT install
114
115 rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop \
116         $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop \
117         $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop/screensaver-properties.desktop
118         
119 mv -f $RPM_BUILD_ROOT%{_applnkdir}/Settings/*.desktop \
120       $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME
121 cp    $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/*.desktop \
122       $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop
123
124 find $RPM_BUILD_ROOT%{_applnkdir} -name .directory | xargs | rm -f
125
126 gzip -9nf AUTHORS ChangeLog NEWS README
127
128 %find_lang %{name} --with-gnome
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %post   -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
135
136 %files -f %{name}.lang
137 %defattr(644,root,root,755)
138 %{_sysconfdir}/CORBA/servers/*
139 %attr(755,root,root) %{_bindir}/*
140 %attr(755,root,root) %{_libdir}/lib*.so.*.*
141
142 %{_datadir}/control-center
143 %{_applnkdir}/Settings/GNOME
144 %dir %{_datadir}/gnome/wm-properties
145 %{_pixmapsdir}/*
146
147 %files devel
148 %defattr(644,root,root,755)
149 %doc *gz
150 %attr(755,root,root) %{_libdir}/lib*.so
151 %attr(755,root,root) %{_libdir}/lib*.la
152 %attr(755,root,root) %{_libdir}/*.sh
153 %{_datadir}/idl/*
154 %{_datadir}/omf/*
155 %{_includedir}/*
156
157 %files static
158 %defattr(644,root,root,755)
159 %{_libdir}/lib*.a
This page took 0.656485 seconds and 4 git commands to generate.