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