diff --git a/README.md b/README.md index 389801b..c454d0d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libgnome +The libgnome package contains the libgnome library. + diff --git a/libgnome-2.20.1-set_firefox_browser.patch b/libgnome-2.20.1-set_firefox_browser.patch new file mode 100644 index 0000000..d89d0b1 --- /dev/null +++ b/libgnome-2.20.1-set_firefox_browser.patch @@ -0,0 +1,12 @@ +diff -Nru libgnome-2.20.1.orig/schemas/desktop_gnome_applications_browser.schemas.in libgnome-2.20.1/schemas/desktop_gnome_applications_browser.schemas.in +--- libgnome-2.20.1.orig/schemas/desktop_gnome_applications_browser.schemas.in 2007-10-15 10:42:42.000000000 +0200 ++++ libgnome-2.20.1/schemas/desktop_gnome_applications_browser.schemas.in 2007-11-17 02:35:08.000000000 +0100 +@@ -6,7 +6,7 @@ + /desktop/gnome/applications/browser/exec + gnome + string +- mozilla ++ firefox + + Default browser + Default browser for all URLs diff --git a/libgnome.spec b/libgnome.spec new file mode 100644 index 0000000..a74bf60 --- /dev/null +++ b/libgnome.spec @@ -0,0 +1,175 @@ +%define majver %(echo %version | cut -d. -f 1-2) + +Name: libgnome +Version: 2.32.1 +Release: 2mamba +Summary: The libgnome package contains the libgnome library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnome.org +# bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname} +Source: http://ftp.gnome.org/pub/GNOME/sources/libgnome/%{majver}/%{name}-%{version}.tar.bz2 +Patch0: libgnome-2.20.1-set_firefox_browser.patch +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: GConf-devel +BuildRequires: glibc-devel +BuildRequires: gtk-doc +BuildRequires: ldconfig +BuildRequires: libaudiofile-devel +BuildRequires: libbonobo-devel +BuildRequires: libdbus-devel +BuildRequires: libdbus-glib-devel +BuildRequires: libesound-devel +BuildRequires: libglib-devel +BuildRequires: libgnome-vfs-devel +BuildRequires: libopenssl-devel +BuildRequires: libpopt-devel +BuildRequires: libselinux-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +BuildRequires: ORBit2-devel +## AUTOBUILDREQ-END +BuildRequires: intltool +BuildRequires: perl +BuildRequires: perl-XML-Parser +BuildRequires: gettext-devel +BuildRequires: popt-devel +BuildRequires: libavahi-glib-devel +Obsoletes: libgnome1 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The libgnome package contains the libgnome library. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: libgnome1-devel +Requires: libcanberra-devel + +%description devel +The libgnome package contains the libgnome library. +This package contains static libraries and header files need for development. + +%package apidocs +Summary: %{name} API documentation +Group: Documentation +Requires: gtk-doc + +%description apidocs +%{name} API documentation. + +%prep +%setup -q +%patch0 -p1 + +%build +%configure \ + --sysconfdir=%{_sysconfdir}/gnome \ + --with-gconf-schema-file-dir=%{_sysconfdir}/gconf/schemas +##\ +## --enable-gtk-doc +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name}-2.0 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}-2.0.lang +%defattr(-,root,root) +%{_bindir}/gnome-open +%{_sysconfdir}/gnome/sound/events/* +%{_sysconfdir}/gconf/schemas/* +%{_libdir}/libgnome-2.so.* +%{_libdir}/bonobo/monikers/* +%{_libdir}/bonobo/servers/* +%{_datadir}/gnome-background-properties/gnome-default.xml +%{_datadir}/pixmaps/backgrounds/gnome/background-default.jpg +%{_mandir}/man7/* + +%files devel +%defattr(-,root,root) +%{_libdir}/*.so +%{_libdir}/*.a +%{_libdir}/*.la +%dir %{_includedir}/libgnome-2.0 +%{_includedir}/libgnome-2.0/* +%{_libdir}/pkgconfig/* + +%files apidocs +%defattr(-,root,root) +%{_datadir}/gtk-doc/html/%{name}/ + +%changelog +* Tue May 15 2012 Silvan Calarco 2.32.1-2mamba +- libgnome-devel: require libcanberra-devel for pkg-config + +* Mon Jan 31 2011 Automatic Build System 2.32.1-1mamba +- automatic update by autodist + +* Mon Oct 04 2010 Silvan Calarco 2.32.0-2mamba +- obsolete libgnome1 + +* Tue Sep 28 2010 Automatic Build System 2.32.0-1mamba +- automatic update to 2.32.0 by autodist + +* Thu Jul 15 2010 Silvan Calarco 2.30.0-2mamba +- rebuilt to add pkgconfig provides + +* Wed Mar 31 2010 Automatic Build System 2.30.0-1mamba +- automatic update to 2.30.0 by autodist + +* Wed Sep 23 2009 Automatic Build System 2.28.0-1mamba +- automatic update to 2.28.0 by autodist + +* Wed Mar 18 2009 Silvan Calarco 2.26.0-1mamba +- automatic update to 2.26.0 by autodist + +* Tue Sep 23 2008 Silvan Calarco 2.24.1-1mamba +- automatic update to 2.24.1 by autodist + +* Fri Jun 13 2008 gil 2.22.0-1mamba +- update to 2.22.0 + +* Sat Nov 17 2007 Silvan Calarco 2.20.1-1mamba +- update to 2.20.1 +- add patch that configure firefox as the default browser instead of mozilla + +* Mon May 14 2007 Tiziano Pratellesi 2.18.0-1mamba +- update to version 2.18.0 + +* Wed Jan 10 2007 Davide Madrisan 2.16.0-1qilnx +- update to version 2.16.0 by autospec + +* Fri Oct 28 2005 Davide Madrisan 2.12.0.1-2qilnx +- gtk documentation moved to devel package + +* Mon Sep 12 2005 Davide Madrisan 2.12.0.1-1qilnx +- update to version 2.12.0.1 by autospec + +* Wed Sep 07 2005 Davide Madrisan 2.12.0-1qilnx +- update to version 2.12.0 by autospec + +* Mon Aug 29 2005 Davide Madrisan 2.10.1-1qilnx +- update to version 2.10.1 by autospec + +* Wed May 11 2005 Silvan Calarco 2.8.1-1qilnx +- update to version 2.8.1 by autospec + +* Tue Jun 22 2004 Silvan Calarco 2.6.1.1-1qilnx +- new version build + +* Thu Jul 24 2003 Silvan Calarco 2.2.3-1qilnx +- first build of libgnome