2007-01-07 23:54:35 +01:00
#
2009-10-05 23:23:34 +02:00
# spec file for package gnome-desktop (Version 2.28.0)
2007-01-07 23:54:35 +01:00
#
2009-01-12 01:52:26 +01:00
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-01-07 23:54:35 +01:00
#
2008-08-14 00:51:18 +02:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2007-01-07 23:54:35 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2008-02-19 02:24:21 +01:00
2007-01-07 23:54:35 +01:00
Name : gnome-desktop
2009-10-05 23:23:34 +02:00
Version : 2.28.0
2009-04-23 23:13:21 +02:00
Release : 1
2009-09-05 01:40:12 +02:00
License : GFDL v1.1 ; GPL v2 or later ; LGPL v2.1 or later
2007-01-07 23:54:35 +01:00
Summary : The GNOME Desktop API Library
Url : http://www.gnome.org
2009-09-05 01:40:12 +02:00
Group : System/GUI/GNOME
Source : %{name} -%{version} .tar.bz2
# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
2007-01-07 23:54:35 +01:00
Patch1 : X-KDE-SubstituteUID.dif
2009-09-05 01:40:12 +02:00
# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
2007-01-07 23:54:35 +01:00
Patch2 : gnome-desktop-desktop.patch
2008-04-21 18:42:51 +02:00
# PATCH-FEATURE-OPENSUSE gnome-desktop-recently-used-apps.patch -- Add launched .desktop files to recently used apps.
2007-01-07 23:54:35 +01:00
Patch3 : gnome-desktop-recently-used-apps.patch
2008-08-14 00:51:18 +02:00
# PATCH-FEATURE-OPENSUSE gnome-desktop-fate300461-desktop-gettext.patch fate300461 vuntz@novell.com -- Look for translation of desktop entry strings via gettext
Patch5 : gnome-desktop-fate300461-desktop-gettext.patch
2009-09-05 01:40:12 +02:00
BuildRequires : fdupes
BuildRequires : gconf2-devel
BuildRequires : gnome-doc-utils-devel
BuildRequires : gtk2-devel
BuildRequires : intltool
BuildRequires : startup-notification-devel
BuildRequires : translation-update-upstream
BuildRequires : update-desktop-files
2007-08-09 16:35:26 +02:00
Requires : %{name} -lang = %{version}
2009-09-05 01:40:12 +02:00
Obsoletes : gnome-core
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2007-01-07 23:54:35 +01:00
%description
This package contains the libgnome-desktop library that contains APIs
that really belong in libgnome/libgnomeui but have not seen enough
testing or development to be considered stable. Use them at your own
risk.
Also contained here are documents installed as part of the core GNOME
distribution : the GPL, GNOME's .desktop files, the gnome-about program,
some man pages, and GNOME's core graphics files and icons.
2009-02-10 12:12:20 +01:00
%package -n libgnome-desktop-2-11
2009-07-31 19:23:57 +02:00
License : GFDL v1.1 ; GPL v2 or later ; LGPL v2.1 or later
2008-02-02 01:40:35 +01:00
Summary : The GNOME Desktop API Library
Group : System/GUI/GNOME
2009-07-31 19:23:57 +02:00
Requires : %{name} -lang = %{version}
2008-02-02 01:40:35 +01:00
2009-02-10 12:12:20 +01:00
%description -n libgnome-desktop-2-11
2008-02-02 01:40:35 +01:00
This package contains the libgnome-desktop library that contains APIs
that really belong in libgnome/libgnomeui but have not seen enough
testing or development to be considered stable. Use them at your own
risk.
Also contained here are documents installed as part of the core GNOME
distribution : the GPL, GNOME's .desktop files, the gnome-about program,
some man pages, and GNOME's core graphics files and icons.
2007-01-07 23:54:35 +01:00
%package devel
2008-04-02 23:40:59 +02:00
License : LGPL v2.1 or later
2009-01-27 01:59:40 +01:00
Summary : Include Files and Libraries mandatory for Development
2007-01-07 23:54:35 +01:00
Group : Development/Libraries/GNOME
2009-09-05 01:40:12 +02:00
Requires : gconf2-devel
Requires : gtk2-devel
Requires : libgnome-desktop-2-11 = %{version}
Requires : startup-notification-devel
2009-02-17 17:23:50 +01:00
Obsoletes : gnome-desktop-doc <= 2.25.90
Provides : gnome-desktop-doc = 2.25.90
2007-01-07 23:54:35 +01:00
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
2007-08-09 16:35:26 +02:00
%lang_package
2007-01-07 23:54:35 +01:00
%prep
%setup -q
2009-03-11 17:51:06 +01:00
translation-update-upstream
2007-01-07 23:54:35 +01:00
%patch1
2007-02-20 00:06:53 +01:00
%patch2 -p0
2008-04-21 18:42:51 +02:00
%patch3 -p1
2009-02-10 12:12:20 +01:00
%patch5 -p0
2007-01-07 23:54:35 +01:00
%build
2009-01-27 01:59:40 +01:00
%configure --with-pic\
2007-02-07 17:00:21 +01:00
--disable-static\
--disable-scrollkeeper\
2009-04-01 17:16:20 +02:00
--with-gnome-distributor=" S U S E " \
--disable-date-in-gnome-version
2007-02-07 17:00:21 +01:00
make %{?jobs:-j%jobs}
2007-01-07 23:54:35 +01:00
%install
2007-02-07 17:00:21 +01:00
%makeinstall
2007-01-07 23:54:35 +01:00
%find_lang %{name} -2.0
%find_lang fdl %{name} -2.0.lang
%find_lang gpl %{name} -2.0.lang
%find_lang lgpl %{name} -2.0.lang
%suse_update_desktop_file gnome-about Documentation
2009-01-27 01:59:40 +01:00
%{__rm} -vf %{buildroot} %{_libdir} /*.la
2009-09-05 01:40:12 +02:00
%fdupes %{buildroot}
2007-08-09 16:35:26 +02:00
2007-01-07 23:54:35 +01:00
%clean
2009-09-05 01:40:12 +02:00
rm -rf %{buildroot}
2007-01-07 23:54:35 +01:00
2009-02-10 12:12:20 +01:00
%post -n libgnome-desktop-2-11 -p /sbin/ldconfig
2007-01-07 23:54:35 +01:00
2009-02-10 12:12:20 +01:00
%postun -n libgnome-desktop-2-11 -p /sbin/ldconfig
2007-01-07 23:54:35 +01:00
2007-08-09 16:35:26 +02:00
%files
2007-01-07 23:54:35 +01:00
%defattr (-, root, root)
2009-07-31 19:23:57 +02:00
%doc AUTHORS COPYING COPYING-DOCS ChangeLog NEWS README
2007-01-07 23:54:35 +01:00
%{_bindir} /*
%{_datadir} /applications/gnome-about.desktop
%{_datadir} /gnome-about
%{_datadir} /pixmaps/*.png
%{_datadir} /pixmaps/*.xpm
%doc %{_mandir} /man?/*.*
2009-02-10 12:12:20 +01:00
%files -n libgnome-desktop-2-11
2008-02-02 01:40:35 +01:00
%defattr (-, root, root)
2009-07-31 19:23:57 +02:00
%doc COPYING.LIB
%{_datadir} /libgnome-desktop
2008-02-02 01:40:35 +01:00
%{_libdir} /*.so.*
2007-08-09 16:35:26 +02:00
%files lang -f %{name}-2.0.lang
2009-02-10 12:12:20 +01:00
## ha/ig does not exist in Factory currently
##%if %suse_version <= 1110
# exclude locales which don't exist on old versions of openSUSE
%exclude %{_datadir} /locale/ig/LC_MESSAGES/*
##%endif
2007-08-09 16:35:26 +02:00
2007-01-07 23:54:35 +01:00
%files devel
%defattr (-, root, root)
%{_libdir} /pkgconfig/*.pc
%{_libdir} /*.so
%{_includedir} /gnome-desktop-2.0
2009-02-17 17:23:50 +01:00
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir} /gtk-doc
%dir %{_datadir} /gtk-doc/html
2007-01-07 23:54:35 +01:00
%{_datadir} /gtk-doc/html/gnome-desktop
2007-02-20 00:06:53 +01:00
%changelog