]> git.pld-linux.org Git - packages/control-center.git/blobdiff - control-center.spec
- change path to wm-properties files from $(datadir)/gnome/wm-properties to
[packages/control-center.git] / control-center.spec
index 9423004d48bf4c4bae21fc1a7d4de29c775a6d9a..d0198d92495f30257dedc658490ad88778a361bb 100644 (file)
@@ -1,30 +1,33 @@
 Summary:       GNOME control center
 Summary(pl):   Centrum kontroli GNOME
 Name:          control-center
-Version:       1.2.4
-Release:       2
+Version:       1.4.0.1
+Release:       1
 Epoch:         1
 License:       GPL
 Group:         X11/Applications
 Group(de):     X11/Applikationen
 Group(pl):     X11/Aplikacje
 Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
-Patch0:                %{name}-nosound.patch
-Patch1:                %{name}-esdrelease.patch
-Patch2:                %{name}-bgcolor1.patch
-Patch3:                %{name}-fsbgpath.patch
-Patch4:                %{name}-applnk.patch
+Patch0:                %{name}-macros.patch
+Patch1:                %{name}-applnk.patch
+Patch2:                %{name}-gettext.patch
+URL:           http://www.gnome.org/
 Icon:          control-center.gif
-Requires:      xscreensaver >= 2.34
 BuildRequires: ORBit-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: esound-devel >= 0.2.5
 BuildRequires: gdk-pixbuf-devel >= 0.7.0
-BuildRequires: gnome-libs-devel
+BuildRequires: gnome-libs-devel >= 1.2.12-3
 BuildRequires: gtk+-devel >= 1.1.16
 BuildRequires: imlib-devel >= 1.8.2
 BuildRequires: zlib-devel
+BuildRequires: gettext-devel
+BuildRequires: xml-i18n-tools
+BuildRequires: findutils
+BuildRequires: flex
+BuildRequires: bison
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     gnome
 
@@ -77,14 +80,14 @@ Statyczne biblioteki dla centrum kontroli GNOME.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
 %build
-gettextize --force --copy
+rm missing
+xml-i18n-toolize --copy --force
+gettextize --copy --force
+automake -a -c
 aclocal -I macros
 autoconf
-automake -a -c
 %configure 
 
 %{__make}
@@ -98,8 +101,12 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.d
        $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop \
        $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop/screensaver-properties.desktop
        
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME
-mv -f $RPM_BUILD_ROOT%{_applnkdir}/Settings/{[!G]*,GNOME}
+mv -f $RPM_BUILD_ROOT%{_applnkdir}/Settings/*.desktop \
+      $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME
+cp    $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/*.desktop \
+      $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop
+
+find $RPM_BUILD_ROOT%{_applnkdir} -name .directory | xargs | rm -f
 
 gzip -9nf AUTHORS ChangeLog NEWS README
 
@@ -129,6 +136,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/lib*.la
 %attr(755,root,root) %{_libdir}/*.sh
 %{_datadir}/idl/*
+%{_datadir}/omf/*
 %{_includedir}/*
 
 %files static
This page took 0.088527 seconds and 4 git commands to generate.