99 lines
2.7 KiB
RPMSpec
99 lines
2.7 KiB
RPMSpec
|
Name: libglib1
|
||
|
Version: 1.2.10
|
||
|
Release: 5mamba
|
||
|
Summary: GIMP Toolkit and GIMP Drawing Kit support library
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.gtk.org/
|
||
|
Source: ftp://ftp.gtk.org/pub/gtk/v1.2/glib-%{version}.tar.gz
|
||
|
Patch0: %{name}-1.2.10-gcc4.patch
|
||
|
Patch1: %{name}-1.2.10-m4_underquoted_warning.patch
|
||
|
License: LGPL
|
||
|
Requires(post):%{__install_info}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
%description
|
||
|
Glib is a handy library of utility functions.
|
||
|
This C library is designed to solve some portability problems and provide other useful functionality which most programs require.
|
||
|
|
||
|
Glib is used by GDK, GTK+ and many applications.
|
||
|
You should install Glib because many of your applications will depend on this library.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Static libraries and header files of glib
|
||
|
Group: Development/Libraries
|
||
|
|
||
|
%description devel
|
||
|
Static libraries and header files for the support library for the GIMP's X libraries, which are available as public libraries.
|
||
|
GLIB includes generally useful data structures.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n glib-%{version}
|
||
|
%patch0 -p1 -b .gcc4
|
||
|
%patch1 -p1 -b .aclocal_warn
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeoldinstall
|
||
|
|
||
|
# fixup strange shared library permissions
|
||
|
chmod 755 %{buildroot}%{_libdir}/libgmodule-*.so.*
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
|
||
|
%post devel
|
||
|
%install_info glib.info
|
||
|
|
||
|
%preun devel
|
||
|
%uninstall_info glib.info
|
||
|
:
|
||
|
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/*.so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/glib-1.2
|
||
|
%{_includedir}/glib-1.2/*.h
|
||
|
%{_libdir}/glib/include/glibconfig.h
|
||
|
%{_libdir}/*.a
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/*.so
|
||
|
%{_libdir}/pkgconfig/*
|
||
|
%{_mandir}/man1/*
|
||
|
%{_bindir}/glib-config
|
||
|
%{_datadir}/aclocal/glib.m4
|
||
|
%{_datadir}/info/*
|
||
|
|
||
|
%changelog
|
||
|
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 1.2.10-5mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Sun Jun 22 2008 Fabio Giani <fabio.giani@gmail.com> 1.2.10-4mamba
|
||
|
- update Vendor, Distribution, Packager and buildrequirements list
|
||
|
|
||
|
* Wed Jun 07 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.10-3qilnx
|
||
|
- fixed underquoted definition of AM_PATH_GLIB in glib.m4
|
||
|
|
||
|
* Tue Dec 13 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.2.10-2qilnx
|
||
|
- specfile updated and fixed
|
||
|
- added gcc4 patch
|
||
|
|
||
|
* Mon Jun 16 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.2.10-1qilnx
|
||
|
- first build of compatibility version 1.2.10
|