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