libgnome/libgnome.spec

186 lines
5.5 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f 1-2)
Name: libgnome
Version: 2.32.1
Release: 3mamba
Summary: The libgnome package contains the libgnome library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnome.org/
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: glibc-devel
BuildRequires: libGConf-devel
BuildRequires: libORBit2-devel
BuildRequires: libavahi-devel
BuildRequires: libavahi-glib-devel
BuildRequires: libbonobo-devel
BuildRequires: libcanberra-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libogg-devel
BuildRequires: libopenssl-devel
BuildRequires: libpopt-devel
BuildRequires: libselinux-devel
BuildRequires: libssp-devel
BuildRequires: libsystemd-devel
BuildRequires: libtdb-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: intltool
BuildRequires: perl
BuildRequires: perl-XML-Parser
BuildRequires: gettext-devel
BuildRequires: popt-devel
BuildRequires: libavahi-glib-devel
Obsoletes: libgnome1 < 2
%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 needed for development.
%package apidocs
Summary: %{name} API documentation
Group: Documentation
Requires: gtk-doc
%description apidocs
%{name} API documentation.
%debug_package
%prep
%setup -q
%patch0 -p1
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%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
* Wed Dec 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32.1-3mamba
- rebuilt with debug package
* Tue May 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32.1-2mamba
- libgnome-devel: require libcanberra-devel for pkg-config
* Mon Jan 31 2011 Automatic Build System <autodist@mambasoft.it> 2.32.1-1mamba
- automatic update by autodist
* Mon Oct 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32.0-2mamba
- obsolete libgnome1
* Tue Sep 28 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Thu Jul 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.0-2mamba
- rebuilt to add pkgconfig provides
* Wed Mar 31 2010 Automatic Build System <autodist@mambasoft.it> 2.30.0-1mamba
- automatic update to 2.30.0 by autodist
* Wed Sep 23 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
- automatic update to 2.28.0 by autodist
* Wed Mar 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
- automatic update to 2.26.0 by autodist
* Tue Sep 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.1-1mamba
- automatic update to 2.24.1 by autodist
* Fri Jun 13 2008 gil <puntogil@libero.it> 2.22.0-1mamba
- update to 2.22.0
* Sat Nov 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <tiziano.pratellesi@openmamba.org> 2.18.0-1mamba
- update to version 2.18.0
* Wed Jan 10 2007 Davide Madrisan <davide.madrisan@qilinux.it> 2.16.0-1qilnx
- update to version 2.16.0 by autospec
* Fri Oct 28 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.12.0.1-2qilnx
- gtk documentation moved to devel package
* Mon Sep 12 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.12.0.1-1qilnx
- update to version 2.12.0.1 by autospec
* Wed Sep 07 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.12.0-1qilnx
- update to version 2.12.0 by autospec
* Mon Aug 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.10.1-1qilnx
- update to version 2.10.1 by autospec
* Wed May 11 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-1qilnx
- update to version 2.8.1 by autospec
* Tue Jun 22 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.1.1-1qilnx
- new version build
* Thu Jul 24 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.2.3-1qilnx
- first build of libgnome