]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- updated to 1.2.1,
[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.2.1
5 Release:        1
6 License:        GPL
7 Group:          X11/GNOME
8 Group(pl):      X11/GNOME
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-nosound.patch
11 Patch1:         %{name}-esdrelease.patch
12 Patch2:         %{name}-bgcolor1.patch
13 Patch3:         %{name}-fsbgpath.patch
14 Patch4:         %{name}-dontstartesd.patch
15 Patch5:         %{name}-limitedbgs.patch
16 Patch6:         %{name}-applnk.patch
17 Icon:           control-center.gif
18 Requires:       xscreensaver >= 2.34
19 BuildRequires:  ORBit-devel
20 BuildRequires:  automake
21 BuildRequires:  esound-devel >= 0.2.5
22 BuildRequires:  gnome-libs-devel
23 BuildRequires:  gtk+-devel >= 1.1.16
24 BuildRequires:  imlib-devel >= 1.8.2
25 BuildRequires:  zlib-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Obsoletes:      gnome
28
29 %define         _prefix         /usr/X11R6
30 %define         _sysconfdir     /etc/X11/GNOME
31
32 %description
33 A Configuration tool for easily setting up your GNOME environment.
34 GNOME is the GNU Network Object Model Environment. That's a fancy name
35 but really GNOME is a nice GUI desktop environment. It makes using
36 your computer easy, powerful, and easy to configure.
37
38 %description -l pl
39 Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
40 Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
41 Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
42 jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
43 proste, wydajne i ³atwe w konfiguracji.
44
45 %package devel
46 Summary:        GNOME control-center includes
47 Summary(pl):    Pliki nag³ówkowe centrum kontroli GNOME
48 Group:          X11/Development/Libraries
49 Group(pl):      X11/Programowanie/Biblioteki
50 Requires:       %{name} = %{version}
51
52 %description devel
53 Capplet development stuff.
54
55 %description -l pl
56 Rzeczy potrzebne do kompilacji.
57
58 %package static
59 Summary:        GNOME control-center static libraries
60 Summary(pl):    Statyczne biblioteki dla centrum kontroli GNOME
61 Group:          X11/Development/Libraries
62 Group(pl):      X11/Programowanie/Biblioteki
63 Requires:       %{name}-devel = %{version}
64
65 %description static
66 GNOME control-center static libraries.
67
68 %description -l pl
69 Statyczne biblioteki dla centrum kontroli GNOME.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74 %patch1 -p1
75 %patch2 -p1
76 %patch3 -p1
77 %patch4 -p1
78 #%patch5 -p1
79 %patch6 -p1
80
81 %build
82 gettextize --force --copy
83 automake
84 LDFLAGS="-s"; export LDFLAGS 
85 %configure 
86
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} DESTDIR=$RPM_BUILD_ROOT install
93
94 rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop \
95         $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop
96
97 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
98
99 gzip -9nf AUTHORS ChangeLog NEWS README
100
101 %find_lang %{name} --with-gnome
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
111 %{_sysconfdir}/CORBA/servers/*
112 %attr(755,root,root) %{_bindir}/*
113 %attr(755,root,root) %{_libdir}/lib*.so.*.*
114
115 %{_datadir}/control-center
116 %{_applnkdir}/Settings
117 %dir %{_datadir}/gnome/wm-properties
118 %{_datadir}/pixmaps/*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %doc *gz
123 %attr(755,root,root) %{_libdir}/lib*.so
124 %attr(755,root,root) %{_libdir}/lib*.la
125 %attr(755,root,root) %{_libdir}/*.sh
126 %{_datadir}/idl/*
127 %{_includedir}/*
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/lib*.a
This page took 0.066011 seconds and 3 git commands to generate.