Sophie

Sophie

distrib > Mandriva > mes5 > x86_64 > by-pkgid > d85bc4013bfeca0c375ecaf19ecf6d3e > files > 4

glib2.0-2.18.1-1.2mdvmes5.src.rpm

# enable_gtkdoc: Toggle if gtkdoc stuff should be rebuilt
#	0 = no
#	1 = yes
%define enable_gtkdoc	0


# Note that this is NOT a relocatable package
%define api_version	2.0
%define lib_major	0
%define lib_name	%mklibname %{name}_ %{lib_major}
%define libgio_name	%mklibname gio%{api_version}_ %{lib_major}
%define develname %mklibname -d %name


Summary:   GIMP Toolkit and GIMP Drawing Kit support library
Name:      glib%{api_version}
Version:   2.18.1
%define subrel 2
Release: %mkrel 1
License:   LGPLv2+
Group:     System/Libraries
Source0:   ftp://ftp.gnome.org/pub/GNOME/sources/glib/glib-%{version}.tar.bz2
Source1:   glib20.sh
Source2:   glib20.csh
Patch0:    glib-CVE-2008-4316.patch
Patch1: glib-2.18.1-CVE-2009-3289.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL:       http://www.gtk.org
Requires:  common-licenses
BuildRequires:	fam-devel
BuildRequires:	libpcre-devel
BuildRequires:  gettext
BuildRequires:	libtool >= 1.4.2-2mdk
BuildRequires: locales-en
%if %enable_gtkdoc
BuildRequires:	gtk-doc >= 0.10
%endif


%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 common
Summary: data files used by glib
Group: System/Libraries
Conflicts:  %{_lib}glib2.0_0 < 2.12.3-2mdv2007.0

%description common
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.

This package contains data used by glib library.

%package -n %{lib_name}
Summary: %{summary}
Group: %{group}
Provides:	glib2 = %{version}-%{release}
Provides:	libglib2 = %{version}-%{release}
Provides:	lib%{name} = %{version}-%{release}
Conflicts:  libglib1.3_13
Requires:	%{name}-common >= %{version}-%{release}

%description -n %{lib_name}
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.

This package contains the library needed to run programs dynamically
linked with the glib.

%package -n %{libgio_name}
Summary: GIO is the input, output and streaming API of glib
Group: %{group}
Requires:	%{lib_name} = %{version}
Suggests:	%mklibname gvfs 0

%description -n %{libgio_name}
GIO is the input, output and streaming API of glib. It on the one hand
provides a set of various streaming classes to access data from different
sources in a convenient way and on the other hand it provides a high level
file system abstraction to access file and directories not only local but also
on the network. For the latter you need to install gvfs.

%package -n %develname
Summary: Static libraries and header files of %{name}
Group:   Development/C
Provides:	glib2-devel = %{version}-%{release}
Provides:	libglib2-devel = %{version}-%{release}
Provides:	lib%{name}-devel = %{version}-%{release}
Requires:	%{lib_name} = %{version}
Requires:	%{libgio_name} = %{version}
Requires:	glib-gettextize >= %{version}
Conflicts:  libglib1.3_13-devel
Obsoletes: %mklibname -d %{name}_ 0
%description -n %develname
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.


%package -n glib-gettextize
Summary: Gettextize replacement
Group: Development/Other

%description -n glib-gettextize
%{name} package is designed to replace gettextize completely.
Various gettext related files are modified in glib and gtk+ to
allow better and more flexible i18n; however gettextize overwrites
them with its own copy of files, thus nullifying the changes.
If this replacement of gettextize is run instead, then all gnome
packages can potentially benefict from the changes.

%prep
%setup -n glib-%{version} -q

%patch0 -p1 -b .cve-2008-4316
%patch1 -p1 -b .CVE-2009-3289

%build

%configure2_5x \
	--with-pcre=system \
	--enable-static \
%if !%enable_gtkdoc
	--enable-gtk-doc=no
%endif

%make

%check
#gw http://bugzilla.gnome.org/show_bug.cgi?id=440544
#make check

%install
rm -rf $RPM_BUILD_ROOT


%makeinstall_std

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/50glib20.sh
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/50glib20.csh
%find_lang glib20

rm -f %buildroot%_libdir/gio/modules/lib*a

%clean
rm -rf $RPM_BUILD_ROOT

%if %mdkversion < 200900
%post -n %{lib_name} -p /sbin/ldconfig
%endif

%if %mdkversion < 200900
%postun -n %{lib_name} -p /sbin/ldconfig
%endif

%if %mdkversion < 200900
%post -n %{libgio_name} -p /sbin/ldconfig
%endif

%if %mdkversion < 200900
%postun -n %{libgio_name} -p /sbin/ldconfig
%endif

%files common -f glib20.lang
%defattr(-, root, root)
%doc README
%config(noreplace) %{_sysconfdir}/profile.d/*

%files -n %{lib_name}
%defattr(-, root, root)
%doc README
%{_libdir}/libglib-%{api_version}.so.*
%{_libdir}/libgmodule-%{api_version}.so.*
%{_libdir}/libgthread-%{api_version}.so.*
%{_libdir}/libgobject-%{api_version}.so.*

%files -n %{libgio_name}
%defattr(-, root, root)
%{_libdir}/libgio-%{api_version}.so.*
%dir %_libdir/gio/
%dir %_libdir/gio/modules/
%_libdir/gio/modules/libgiofam.so

%files -n %develname
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS
%doc %{_datadir}/gtk-doc/html/*
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_libdir}/lib*.a
%{_libdir}/glib-%{api_version}
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_mandir}/man1/*
%{_datadir}/aclocal/glib-%{api_version}.m4
%{_bindir}/glib-genmarshal
%{_bindir}/glib-mkenums
%{_bindir}/gobject-query
%_bindir/gtester*

%files -n glib-gettextize
%defattr(-, root, root)
%{_bindir}/glib-gettextize
%{_datadir}/aclocal/glib-gettext.m4
%{_datadir}/glib-%{api_version}




%changelog
* Thu Sep 24 2009 Oden Eriksson <oeriksson@mandriva.com> 2.18.1-1.2mdvmes5
- P1: security fix for CVE-2009-3289

* Wed Mar 25 2009 Rafael Cabral <cabral@mandriva.com> 2.18.1-1.1mdv2009.0
- security fix for CVE-2008-4316

* Thu Sep 18 2008 Götz Waschk <waschk@mandriva.org> 2.18.1-1mdv2009.0
+ Revision: 285595
- new version

* Wed Sep 03 2008 Götz Waschk <waschk@mandriva.org> 2.18.0-1mdv2009.0
+ Revision: 279563
- new version

* Mon Aug 18 2008 Frederic Crozat <fcrozat@mandriva.com> 2.17.7-1mdv2009.0
+ Revision: 273278
- Release 2.17.7

* Mon Aug 04 2008 Götz Waschk <waschk@mandriva.org> 2.17.6-1mdv2009.0
+ Revision: 263481
- new version

* Tue Jul 22 2008 Götz Waschk <waschk@mandriva.org> 2.17.4-1mdv2009.0
+ Revision: 240014
- new version
- drop patch
- update license

* Fri Jul 04 2008 Götz Waschk <waschk@mandriva.org> 2.17.3-2mdv2009.0
+ Revision: 231604
- crash fix

* Thu Jul 03 2008 Götz Waschk <waschk@mandriva.org> 2.17.3-1mdv2009.0
+ Revision: 230878
- new version

* Fri Jun 13 2008 Götz Waschk <waschk@mandriva.org> 2.17.2-1mdv2009.0
+ Revision: 218734
- new version

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Wed Apr 09 2008 Götz Waschk <waschk@mandriva.org> 2.16.3-1mdv2009.0
+ Revision: 192488
- new version

* Tue Apr 01 2008 Frederic Crozat <fcrozat@mandriva.com> 2.16.2-1mdv2008.1
+ Revision: 191354
- Release 2.16.2
- Remove patch0, merged upstream

* Thu Mar 27 2008 Frederic Crozat <fcrozat@mandriva.com> 2.16.1-3mdv2008.1
+ Revision: 190728
- Update patch0 with more SVN fixes

* Mon Mar 17 2008 Frederic Crozat <fcrozat@mandriva.com> 2.16.1-2mdv2008.1
+ Revision: 188329
- Patch0: SVN fixes for gio

* Tue Mar 11 2008 Götz Waschk <waschk@mandriva.org> 2.16.1-1mdv2008.1
+ Revision: 184860
- new version

* Mon Mar 10 2008 Götz Waschk <waschk@mandriva.org> 2.16.0-1mdv2008.1
+ Revision: 183715
- new version

* Mon Mar 03 2008 Götz Waschk <waschk@mandriva.org> 2.15.6-2mdv2008.1
+ Revision: 178232
- add missing dep on libgio to the devel package

* Mon Feb 25 2008 Götz Waschk <waschk@mandriva.org> 2.15.6-1mdv2008.1
+ Revision: 175044
- new version

* Mon Feb 25 2008 Pixel <pixel@mandriva.com> 2.15.5-2mdv2008.1
+ Revision: 174900
- create subpackage libgio2.0_0 which suggests libgvfs0 to break require/suggest
  link consolekit->glib->gvfs->hal

* Tue Feb 12 2008 Götz Waschk <waschk@mandriva.org> 2.15.5-1mdv2008.1
+ Revision: 165677
- new version
- drop patch 0

* Thu Feb 07 2008 Götz Waschk <waschk@mandriva.org> 2.15.4-3mdv2008.1
+ Revision: 163376
- build with system pcre

* Wed Feb 06 2008 Frederic Crozat <fcrozat@mandriva.com> 2.15.4-2mdv2008.1
+ Revision: 163034
- Patch0 (SVN): fix text sniffing (Mdv bug #37506)

* Tue Jan 29 2008 Götz Waschk <waschk@mandriva.org> 2.15.4-1mdv2008.1
+ Revision: 159640
- new version
- drop patch

* Tue Jan 22 2008 Götz Waschk <waschk@mandriva.org> 2.15.3-1mdv2008.1
+ Revision: 156114
- new version

* Wed Jan 16 2008 Guillaume Rousse <guillomovitch@mandriva.org> 2.15.2-2mdv2008.1
+ Revision: 153773
- no executable bit on profile.d scriptlets
  order prefix for profile.d scriptlets

* Mon Jan 14 2008 Götz Waschk <waschk@mandriva.org> 2.15.2-1mdv2008.1
+ Revision: 151584
- new version

* Wed Jan 09 2008 Frederic Crozat <fcrozat@mandriva.com> 2.15.1-3mdv2008.1
+ Revision: 147222
- Patch1: consider rpc_pipefs as system fs (GNOME bug 508309)

* Tue Jan 08 2008 Frederic Crozat <fcrozat@mandriva.com> 2.15.1-2mdv2008.1
+ Revision: 146589
- Suggest gvfs when installing glib

* Mon Jan 07 2008 Götz Waschk <waschk@mandriva.org> 2.15.1-1mdv2008.1
+ Revision: 146356
- new version
- drop patches 1,2

* Thu Jan 03 2008 Oden Eriksson <oeriksson@mandriva.com> 2.15.0-3mdv2008.1
+ Revision: 141712
- added P2 to fix anal comment format in gtestutils.h

* Fri Dec 28 2007 Frederic Crozat <fcrozat@mandriva.com> 2.15.0-2mdv2008.1
+ Revision: 138769
- Patch1 (SVN): fix environment in g_spawn_async (GNOME bug #504829)

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Götz Waschk <waschk@mandriva.org>
    - new devel name

* Fri Dec 21 2007 Götz Waschk <waschk@mandriva.org> 2.15.0-1mdv2008.1
+ Revision: 136175
- new version
- update buildrequires
- update file list

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Sat Nov 24 2007 Götz Waschk <waschk@mandriva.org> 2.14.4-1mdv2008.1
+ Revision: 111790
- new version

* Wed Nov 07 2007 Götz Waschk <waschk@mandriva.org> 2.14.3-1mdv2008.1
+ Revision: 106684
- new version

* Tue Oct 16 2007 Götz Waschk <waschk@mandriva.org> 2.14.2-1mdv2008.1
+ Revision: 98888
- new version
- drop patch 1

* Fri Sep 28 2007 Frederic Crozat <fcrozat@mandriva.com> 2.14.1-2mdv2008.0
+ Revision: 93673
- Patch1 (SVN): fix crash on hook finalization (GNOME bug #476849)

* Mon Sep 17 2007 Götz Waschk <waschk@mandriva.org> 2.14.1-1mdv2008.0
+ Revision: 88888
- new version

* Wed Aug 22 2007 Adam Williamson <awilliamson@mandriva.com> 2.14.0-2mdv2008.0
+ Revision: 68757
- patch0 from PLD Linux: fix upstream regression breaking noarch builds (GNOME bug #385132)

* Sat Aug 04 2007 Götz Waschk <waschk@mandriva.org> 2.14.0-1mdv2008.0
+ Revision: 58861
- new version
- drop patch
- disable checks

* Tue Jul 24 2007 Christiaan Welvaart <spturtle@mandriva.org> 2.13.7-2mdv2008.0
+ Revision: 55081
- drop patch0, fixed upstream
- patch0: fix new testsuite failure on ppc

* Fri Jul 13 2007 Frederic Crozat <fcrozat@mandriva.com> 2.13.7-1mdv2008.0
+ Revision: 51774
- Release 2.13.7 (aka no more g_thread_init warning release)

* Fri Jun 29 2007 Götz Waschk <waschk@mandriva.org> 2.13.6-1mdv2008.0
+ Revision: 45874
- new version

* Mon Jun 18 2007 Götz Waschk <waschk@mandriva.org> 2.13.5-1mdv2008.0
+ Revision: 41045
- new version

* Thu Jun 07 2007 Anssi Hannula <anssi@mandriva.org> 2.13.4-2mdv2008.0
+ Revision: 36161
- rebuild with correct optflags

  + Götz Waschk <waschk@mandriva.org>
    - new version

* Wed May 02 2007 Götz Waschk <waschk@mandriva.org> 2.12.12-1mdv2008.0
+ Revision: 20394
- new version


* Fri Mar 09 2007 Götz Waschk <waschk@mandriva.org> 2.12.11-1mdv2007.1
+ Revision: 138716
- new version
- drop patch 1

  + Frederic Crozat <fcrozat@mandriva.com>
    - Patch1 : disable forgotten debug

* Thu Mar 08 2007 Frederic Crozat <fcrozat@mandriva.com> 2.12.10-1mdv2007.1
+ Revision: 137648
- Release 2.12.10

* Sun Feb 18 2007 Götz Waschk <waschk@mandriva.org> 2.12.9-3mdv2007.1
+ Revision: 122247
- rebuild to fix pkgconfig deps

* Sat Feb 17 2007 Götz Waschk <waschk@mandriva.org> 2.12.9-2mdv2007.1
+ Revision: 122121
- rebuild for pkgconfig provides

* Wed Jan 17 2007 Götz Waschk <waschk@mandriva.org> 2.12.9-1mdv2007.1
+ Revision: 109724
- new version
- disable gtk-doc

* Mon Jan 15 2007 Götz Waschk <waschk@mandriva.org> 2.12.8-1mdv2007.1
+ Revision: 108997
- new version
- drop patch

* Fri Jan 05 2007 Götz Waschk <waschk@mandriva.org> 2.12.7-2mdv2007.1
+ Revision: 104389
- bump release
- fix build
- new version

* Wed Dec 20 2006 Götz Waschk <waschk@mandriva.org> 2.12.6-1mdv2007.1
+ Revision: 100530
- new version

* Tue Dec 19 2006 Götz Waschk <waschk@mandriva.org> 2.12.5-1mdv2007.1
+ Revision: 99115
- new version

* Tue Oct 17 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 2.12.4-4mdv2007.1
+ Revision: 65622
- patch0: fix for plt check script on ppc

* Fri Oct 13 2006 Götz Waschk <waschk@mandriva.org> 2.12.4-3mdv2007.1
+ Revision: 63823
- rebuild
- rebuild
- Import glib2.0

* Thu Oct 05 2006 Götz Waschk <waschk@mandriva.org> 2.12.4-1mdv2007.0
- New version 2.12.4

* Sat Sep 09 2006 Frederic Crozat <fcrozat@mandriva.com> 2.12.3-3mdv2007.0
- Update source 2 and 3 to prevent invalid dep on tcsh

* Sat Sep 09 2006 Frederic Crozat <fcrozat@mandriva.com> 2.12.3-2mdv2007.0
- Create common package for non-arch data used by lib package
- Put back exec permissions on profile scripts

* Thu Aug 31 2006 Götz Waschk <waschk@mandriva.org> 2.12.3-1mdv2007.0
- New release 2.12.3

* Thu Aug 17 2006 Götz Waschk <waschk@mandriva.org> 2.12.2-1mdv2007.0
- New release 2.12.2

* Mon Jul 24 2006 Götz Waschk <waschk@mandriva.org> 2.12.1-1mdv2007.0
- New release 2.12.1

* Tue Jul 04 2006 Götz Waschk <waschk@mandriva.org> 2.12.0-1mdv2007.0
- fix profile.d permissions
- New release 2.12.0

* Wed Jun 21 2006 Götz Waschk <waschk@mandriva.org> 2.11.4-1mdv2007.0
- fix rpmlint warning about missing shell bang
- New release 2.11.4

* Wed Jun 14 2006 Götz Waschk <waschk@mandriva.org> 2.11.3-1mdv2007.0
- New release 2.11.3

* Wed Jun 07 2006 Götz Waschk <waschk@mandriva.org> 2.11.2-1
- New release 2.11.2

* Thu Jun 01 2006 Frederic Crozat <fcrozat@mandriva.com> 2.11.1-1mdv2007.0
- Release 2.11.1

* Mon May 29 2006 Götz Waschk <waschk@mandriva.org> 2.10.3-1mdv2007.0
- drop patch
- New release 2.10.3

* Wed Apr 12 2006 Götz Waschk <waschk@mandriva.org> 2.10.2-2mdk
- fix buildrequires

* Tue Apr 11 2006 Frederic Crozat <fcrozat@mandriva.com> 2.10.2-1mdk
- Release 2.10.2
- Patch0 (CVS): fix thread test

* Fri Jan 20 2006 Götz Waschk <waschk@mandriva.org> 2.8.6-1mdk
- drop merged patch
- New release 2.8.6

* Wed Jan 18 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 2.8.5-2mdk
- patch1: fix convert-test for ppc

* Tue Jan 03 2006 Götz Waschk <waschk@mandriva.org> 2.8.5-1mdk
- New release 2.8.5
- use mkrel

* Wed Nov 16 2005 Götz Waschk <waschk@mandriva.org> 2.8.4-1mdk
- New release 2.8.4

* Wed Oct 12 2005 Frederic Crozat <fcrozat@mandriva.com> 2.8.3-2mdk
- Rebuild to get debug package

* Wed Oct 05 2005 Frederic Crozat <fcrozat@mandriva.com> 2.8.3-1mdk
- Release 2.8.3

* Wed Aug 24 2005 Frederic Crozat <fcrozat@mandriva.com> 2.8.1-1mdk 
- New release 2.8.1
- Remove patch1 (merged upstream)

* Fri Aug 19 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 2.8.0-2mdk
- patch1: have abicheck.sh accept symbols in small data area etc.

* Wed Aug 17 2005 Frederic Crozat <fcrozat@mandriva.com> 2.8.0-1mdk 
- Release 2.8.0

* Tue Aug 02 2005 Götz Waschk <waschk@mandriva.org> 2.6.6-1mdk
- rpmbuildupdate fix
- New release 2.6.6

* Sun Jun 12 2005 Götz Waschk <waschk@mandriva.org> 2.6.5-1mdk
- New release 2.6.5

* Sat Apr 16 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.4-1mdk 
- Release 2.6.4

* Mon Feb 28 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.3-1mdk 
- Release 2.6.3
- Remove patch1 (not needed anymore)

* Fri Feb 18 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.2-3mdk 
- Fix bad encoding in source1/2 (next time, I'll check doc myself..)

* Fri Feb 18 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.2-2mdk 
- Update source1/2 to use G_FILENAME_ENCODING (Mdk bug #13738)

* Fri Feb 04 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.2-1mdk
- New release 2.6.2

* Sun Jan 09 2005 Götz Waschk <waschk@linux-mandrake.com> 2.6.1-1mdk
- new version

* Sat Dec 18 2004 Christiaan Welvaart <cjw@daneel.dyndns.org> 2.6.0-2mdk
- Patch1: fix abicheck in test suite for ppc

* Thu Dec 16 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.0-1mdk
- New release 2.6.0

* Fri Dec 03 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.8-1mdk 
- Release 2.4.8

* Tue Oct 19 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.7-1mdk
- New release 2.4.7

* Tue Aug 17 2004 Götz Waschk <waschk@linux-mandrake.com> 2.4.6-1mdk
- new version

* Tue Aug 03 2004 Götz Waschk <waschk@linux-mandrake.com> 2.4.5-1mdk
- new version

* Sat Jul 10 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.4-1mdk
- New release 2.4.4

* Sat Jun 05 2004 Götz Waschk <waschk@linux-mandrake.com> 2.4.2-1mdk
- reenable libtoolize
- New release 2.4.2

* Sat May 01 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.1-1mdk
- Release 2.4.1

* Thu Apr 01 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.0-1mdk
- Release 2.4.0