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