gnome-desktop.spec
author mick
Tue, 15 Jul 2003 13:18:50 +0000
changeset 569 b63182ee420f
parent 552 36a802302e86
child 575 2b5c59a05848
permissions -rw-r--r--
updating the POTFILES.in so intltool-update can be run.

Name:         gnome-desktop
License:      LGPL
Group:        System/Libraries/GNOME
Version:      2.3.3.1
Release:      5
Distribution: Mercury
Vendor:       Sun Microsystems Inc.
Summary:      GNOME Desktop Library
Source:       http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/2.2/%{name}-%{version}.tar.bz2
Source1:      blueprint-extra-icons.tar.bz2
Source2:      gnome-desktop-l10n-po.tar.bz2
Patch0:       gnome-desktop-01-advanced-directory-relocation.diff
Patch1:       gnome-desktop-02-potfiles_in.diff
URL:          http://www.gnome.org
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/%{name}
Autoreqprov:  on

%define libwnck_version 2.2.1
%define libgnomeui_version 2.2.0
%define startup_notification_version 0.5
%define popt_version 1.6.4
%define libgnome_version 2.2.0
 
BuildRequires: libwnck-devel >= %{libwnck_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: startup-notification-devel >= %{startup_notification_version}
BuildRequires: popt-devel >= %{popt_version}

%description
libgnome-desktop is a private library containing API that are 
not considered stable.

gnome-desktop also contains icons and documents used in the 
base GNOME Desktop.

%package devel
Summary:      GNOME Desktop Library
Group:        Development/Libraries/GNOME
Requires:     %name = %version-%release
Requires:     libgnomeui-devel >= %{libgnomeui_version}
Requires:     libgnome-devel >= %{libgnome_version}

%description devel
libgnome-desktop is a private library containing API that are 
not considered stable.

%prep
%setup
%patch0 -p1
tar jxvf %SOURCE1
tar -jxvf %SOURCE2
%patch1 -p1

%build
libtoolize --force
aclocal -I /usr/share/aclocal/gnome2-macros
automake -a -c -f
autoconf

CFLAGS="$RPM_OPT_CFLAGS"		\
./configure --prefix=%{_prefix}		\
	    --sysconfdir=%{_sysconfdir} \
	    --mandir=%{_mandir}
make

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr (-, root, root)
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_bindir}/*
%{_datadir}/gnome-about/*
%{_datadir}/gnome/help/*
%{_datadir}/gnome/vfolders/*
%{_datadir}/man/*
%{_datadir}/pixmaps/
%{_datadir}/control-center-2.0/icons/*
%{_libdir}/libgnome-desktop-2.so*

%files devel
%defattr (-, root, root)
%{_includedir}/gnome-desktop-2.0/libgnome/*.h
%{_includedir}/gnome-desktop-2.0/libgnomeui/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*a

%changelog
* Wed Jul 09 2003 - <[email protected]>
- add in sun po files

* Fri Jul 03 2003 - [email protected]
- New tarball

* Wed Jul 02 2003 - [email protected]
- New tarball...whee

* Wed Jul 02 2003 - [email protected]
- Move the advanced-directory.png icon to it's 
  proper location. This probably is already fixed
  in HEAD. gnome-desktop-01-advanced-directory-relocation.diff

* Wed Jul 02 2003 - [email protected]
- Make sure that we install the .directory files
  as well

* Tue May 13 2003 - [email protected]
- Created new spec file for gnome-desktop