gnome-desktop3/gnome-desktop3.spec

159 lines
4.8 KiB
RPMSpec
Raw Normal View History

2010-06-21 08:17:58 +00:00
%define libxml2_version 2.4.20
2010-10-04 21:52:04 +00:00
%define gtk3_version 2.91.0
2010-06-21 08:17:58 +00:00
%define glib2_version 2.15.4
%define startup_notification_version 0.5
%define gnome_doc_utils_version 0.3.2
%define gtk_doc_version 1.9
%define po_package gnome-desktop-3.0
Summary: Shared code among gnome-panel, gnome-session, nautilus, etc
Name: gnome-desktop3
2010-11-25 12:51:59 +00:00
Version: 2.91.3
2010-12-03 17:13:14 +00:00
Release: 2%{?dist}
2010-06-21 08:17:58 +00:00
URL: http://www.gnome.org
2010-10-04 21:52:04 +00:00
Source0: http://download.gnome.org/sources/gnome-desktop/2.91/gnome-desktop-%{version}.tar.bz2
2010-06-21 08:17:58 +00:00
License: GPLv2+ and LGPLv2+
Group: System Environment/Libraries
Requires: redhat-menus
2010-11-11 20:02:47 +00:00
### uncomment when gnome-about is packaged here
#Requires: pycairo
#Requires: pygtk2
2010-06-21 08:17:58 +00:00
# Make sure to update libgnome schema when changing this
2010-10-29 03:01:26 +00:00
Requires: system-backgrounds-gnome
2010-06-21 08:17:58 +00:00
BuildRequires: gnome-common
BuildRequires: libxml2-devel >= %{libxml2_version}
BuildRequires: gtk3-devel >= %{gtk3_version}
2010-11-10 12:13:49 +00:00
BuildRequires: gsettings-desktop-schemas-devel
2010-06-21 08:17:58 +00:00
BuildRequires: GConf2-devel
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: startup-notification-devel >= %{startup_notification_version}
BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
BuildRequires: scrollkeeper
BuildRequires: gettext
BuildRequires: gtk-doc >= %{gtk_doc_version}
BuildRequires: automake autoconf libtool intltool
%description
The gnome-desktop package contains an internal library
(libgnomedesktop) used to implement some portions of the GNOME
desktop, and also some data files and other shared components of the
GNOME user environment.
%package devel
Summary: Libraries and headers for libgnome-desktop
License: LGPLv2+
Group: Development/Libraries
Requires: %name = %{version}-%{release}
Requires: libxml2-devel >= %{libxml2_version}
Requires: gtk3-devel >= %{gtk3_version}
Requires: glib2-devel >= %{glib2_version}
Requires: startup-notification-devel >= %{startup_notification_version}
Requires: gnome-doc-utils >= %{gnome_doc_utils_version}
Requires: pkgconfig
Requires: gtk-doc >= %{gtk_doc_version}
%description devel
Libraries and header files for the GNOME-internal private library
libgnomedesktop.
%prep
%setup -q -n gnome-desktop-%{version}
%build
%configure --with-gnome-distributor="Red Hat, Inc" \
--with-pnp-ids-path="/usr/share/hwdata/pnp.ids" \
--disable-scrollkeeper
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
# stuff we don't want
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
# conflicts with the original gnome-desktop, but we might switchroo in a few weeks time
rm -f $RPM_BUILD_ROOT%{_bindir}/gnome-about
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gnome-about.desktop
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome-about
2010-08-19 23:18:33 +00:00
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/gnome-about*
2010-06-21 08:17:58 +00:00
%find_lang %{po_package} --all-name --with-gnome
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{po_package}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING.LIB NEWS README
# these files might come back if we ever end up not shipping the original gnome-desktop on the media
#%{_datadir}/applications/gnome-about.desktop
#%{_datadir}/gnome-about
%{_datadir}/omf/*
# GPL
#%{_bindir}/gnome-about
# LGPL
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root,-)
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_includedir}/*
%doc %{_datadir}/gtk-doc/html/gnome-desktop3/
%changelog
2010-12-03 17:13:14 +00:00
* Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> 2.91.3-2
- Rebuild against new gtk
2010-11-25 12:51:59 +00:00
* Thu Nov 25 2010 Bastien Nocera <bnocera@redhat.com> 2.91.3-1
- Update to 2.91.3
2010-11-17 16:32:48 +00:00
* Wed Nov 17 2010 Bastien Nocera <bnocera@redhat.com> 2.91.2-1
- Update to 2.91.2
2010-11-11 20:02:47 +00:00
* Thu Nov 11 2010 Bill Nottingham <notting@redhat.com> 2.91.1-3
- remove some extraneous deps
2010-11-11 14:01:09 +00:00
* Thu Nov 11 2010 Bastien Nocera <bnocera@redhat.com> 2.91.1-2
- Fix a possible double-free crasher
2010-11-10 12:01:54 +00:00
* Wed Nov 10 2010 Bastien Nocera <bnocera@redhat.com> 2.91.1-1
- Update to 2.91.1
2010-11-02 04:15:40 +00:00
* Tue Nov 2 2010 Matthias Clasen <mclasen@redhat.com> 2.91.0-3
- Rebuild against newer gtk3
2010-10-29 03:01:26 +00:00
* Thu Oct 28 2010 Bill Nottingham <notting@redhat.com> 2.91.0-2
- flip background to match F-14
2010-10-04 21:52:04 +00:00
* Mon Oct 4 2010 Matthias Clasen <mclasen@redhat.com> 2.91.0-1
- Update to 2.91.0
2010-09-29 21:18:37 +00:00
* Wed Sep 29 2010 jkeating - 2.90.4-4
- Rebuilt for gcc bug 634757
2010-09-22 04:24:33 +00:00
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> 2.90.4-3
- Rebuild against newer gobject-introspection
- Rebuild against newer gtk
2010-08-19 23:18:33 +00:00
* Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> 2.90.4-2
- Prevent file conflict with gnome-desktop
2010-06-30 03:04:58 +00:00
* Tue Jun 29 2010 Matthias Clasen <mclasen@redhat.com> 2.90.4-1
- Update to 2.90.4
2010-06-29 02:10:08 +00:00
* Mon Jun 28 2010 Matthias Clasen <mclasen@redhat.com> 2.90.2-1
- 2.90.2
2010-06-29 01:19:51 +00:00
2010-06-21 08:17:58 +00:00
* Thu Jun 17 2010 Richard Hughes <richard@hughsie.com> 2.90.1-1
- Initial build for review.