]> git.pld-linux.org Git - packages/control-center.git/blob - control-center.spec
- removed also %%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop.
[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.0.53
5 Release:        2
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:         control-center-nosound.patch
11 Patch1:         control-center-esdrelease.patch
12 Patch2:         control-center-bgcolor1.patch
13 Patch3:         control-center-fsbgpath.patch
14 Patch4:         control-center-dontstartesd.patch
15 Patch5:         control-center-limitedbgs.patch
16 Patch6:         control-center-numwallpapers.patch
17 Patch7:         control-center-applnk.patch
18 Icon:           control-center.gif
19 Requires:       xscreensaver >= 2.34
20 BuildRequires:  gtk+-devel >= 1.1.16
21 BuildRequires:  esound-devel >= 0.2.5
22 BuildRequires:  imlib-devel >= 1.8.2
23 BuildRequires:  gnome-libs-devel
24 BuildRequires:  ORBit-devel
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. GNOME is
34 the GNU Network Object Model Environment. That's a fancy name but really
35 GNOME is a nice GUI desktop environment. It makes using your computer easy,
36 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 Model
41 Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci jest to mi³e
42 ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest proste, wydajne i
43 ³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 %patch7 -p1
81
82 %build
83 gettextize --force --copy
84 automake
85 LDFLAGS="-s"; export LDFLAGS 
86 %configure 
87
88 make
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 make DESTDIR=$RPM_BUILD_ROOT install
94
95 rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop \
96         $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop
97
98 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
99
100 gzip -9nf AUTHORS ChangeLog NEWS README
101
102 %find_lang %{name}
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %{_sysconfdir}/CORBA/servers/*
113 %attr(755,root,root) %{_bindir}/*
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
115
116 %{_datadir}/control-center
117 %{_applnkdir}/Settings
118 %dir %{_datadir}/gnome/wm-properties
119 %{_datadir}/pixmaps/*
120
121 %files devel
122 %defattr(644,root,root,755)
123 %doc *gz
124 %attr(755,root,root) %{_libdir}/lib*.so
125 %attr(755,root,root) %{_libdir}/lib*.la
126 %attr(755,root,root) %{_libdir}/*.sh
127 %{_datadir}/idl/*
128 %{_includedir}/*
129
130 %files static
131 %attr(644,root,root) %{_libdir}/lib*.a
This page took 0.072034 seconds and 4 git commands to generate.