glib2/glib2.spec

242 lines
7.1 KiB
RPMSpec
Raw Normal View History

auto-import changelog data from glib2-1.3.6-6.src.rpm Fri Jul 20 2001 Owen Taylor <otaylor@redhat.com> - Make -devel package require main package (#45388) - Fix description and summary - Configure with --disable-gtk-doc Wed Jun 20 2001 Florian La Roche <Florian.LaRoche@redhat.de> - add some portability fixes needed at least on s390 - copy config.{guess,sub} instead of calling libtoolize Wed Jun 13 2001 Havoc Pennington <hp@redhat.com> - try a new glib tarball with Makefile changes to work around libtool linking to installed .la files - make -devel require pkgconfig Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - either libtool or the bad libtool hacks caused link against glib-gobject 1.3.2, rebuild Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - 1.3.6 - bad libtool workarounds Fri May 04 2001 Owen Taylor <otaylor@redhat.com> - 1.3.5, rename to glib2 Fri Nov 17 2000 Owen Taylor <otaylor@redhat.com> - Final 1.3.2 Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.2pre1 - Remove pkgconfig Sun Aug 13 2000 Owen Taylor <otaylor@redhat.com> - Call 1.3.1b instead of snap... the snap* naming doesn't order correctly. Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - new snapshot with fixed .pc files Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - include .pc files in file list Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - Include pkg-config - Upgrade to a glib CVS snapshot Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com> - rebuild to cope with glibc locale binary incompatibility Fri Jul 14 2000 Owen Taylor <otaylor@redhat.com> - Remove glib-config.1 manpage from build since it conflicts with glib-devel. When we go to glib glib1.2 setup, we should add it back Fri Jul 07 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.1 - Move back to standard %{prefix} Thu Jun 08 2000 Owen Taylor <otaylor@redhat.com> - Rebuild in /opt/gtk-beta Tue May 30 2000 Owen Taylor <otaylor@redhat.com> - New version (adds gobject) Tue Apr 25 2000 Owen Taylor <otaylor@redhat.com> - Don't blow away /etc/ld.so.conf (sorry!) Mon Apr 24 2000 Owen Taylor <otaylor@redhat.com> - Snapshot RPM for Pango testing Fri Feb 04 2000 Owen Taylor <otaylor@redhat.com> - Added fixes from stable branch of CVS Thu Oct 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.6 Fri Sep 24 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.5 Fri Sep 17 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.4 Mon Jun 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.3 Thu Mar 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.1 Fri Feb 26 1999 Michael Fulbright <drmike@redhat.com> - Version 1.2 Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.0pre1 Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com> - new description tags Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com> - removed libtoolize from %build Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com> - added libgthread to file list Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.15 Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.14 Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.13 Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.12 Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com> - updated in preparation for the GNOME freeze Mon Apr 13 1998 Marc Ewing <marc@redhat.com> - Split out glib package
2004-09-09 05:16:47 +00:00
Name: glib2
2022-02-15 14:39:23 +00:00
Version: 2.71.2
2021-07-12 20:42:05 +00:00
Release: %autorelease
Summary: A library of handy utility functions
2007-08-02 20:22:45 +00:00
License: LGPLv2+
URL: https://www.gtk.org
2021-09-17 10:43:44 +00:00
Source0: https://download.gnome.org/sources/glib/2.70/glib-%{version}.tar.xz
# Required for RHEL core crypto components policy. Good for Fedora too.
# https://bugzilla.redhat.com/show_bug.cgi?id=1630260
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/903
Patch0: gnutls-hmac.patch
2021-02-19 18:38:31 +00:00
# Add patches to move applications into systemd scopes in compliance with
# https://systemd.io/DESKTOP_ENVIRONMENTS/
# Proposed upstream at https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1596
Patch1: gdesktopappinfo.patch
2021-02-19 18:38:31 +00:00
BuildRequires: chrpath
2019-01-03 12:30:11 +00:00
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gettext
2019-01-03 12:57:37 +00:00
BuildRequires: gtk-doc
BuildRequires: perl-interpreter
2008-01-08 14:00:58 +00:00
# for sys/inotify.h
BuildRequires: glibc-devel
BuildRequires: libattr-devel
BuildRequires: libselinux-devel
2019-01-03 12:57:37 +00:00
BuildRequires: meson
2010-08-02 22:03:50 +00:00
# for sys/sdt.h
BuildRequires: systemtap-sdt-devel
BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(libpcre)
BuildRequires: pkgconfig(mount)
2021-02-24 10:22:20 +00:00
BuildRequires: pkgconfig(sysprof-capture-4)
BuildRequires: pkgconfig(zlib)
2015-11-27 18:17:55 +00:00
BuildRequires: python3-devel
BuildRequires: /usr/bin/marshalparser
2009-09-23 20:16:27 +00:00
# For gnutls-hmac.patch. We now dlopen libgnutls.so.30 so that we can build a
# static glib2 without depending on a static build of GnuTLS as well. This will
# ensure we notice if the GnuTLS soname bumps, so that we can update our patch.
%if 0%{?__isa_bits} == 64
Requires: libgnutls.so.30()(64bit)
%else
Requires: libgnutls.so.30
%endif
2021-01-22 13:23:38 +00:00
# Remove gamin dependency
Obsoletes: glib2-fam < 2.67.1-3
2021-05-05 13:37:39 +00:00
Provides: bundled(gnulib)
Provides: bundled(gvdb)
Provides: bundled(libcharset)
Provides: bundled(xdgmime)
%description
2010-03-28 04:32:39 +00:00
GLib is the low-level core library that forms the basis for projects
such as GTK+ and GNOME. It provides data structure handling for C,
portability wrappers, and interfaces for such runtime functionality
as an event loop, threads, dynamic loading, and an object system.
auto-import changelog data from glib2-1.3.6-6.src.rpm Fri Jul 20 2001 Owen Taylor <otaylor@redhat.com> - Make -devel package require main package (#45388) - Fix description and summary - Configure with --disable-gtk-doc Wed Jun 20 2001 Florian La Roche <Florian.LaRoche@redhat.de> - add some portability fixes needed at least on s390 - copy config.{guess,sub} instead of calling libtoolize Wed Jun 13 2001 Havoc Pennington <hp@redhat.com> - try a new glib tarball with Makefile changes to work around libtool linking to installed .la files - make -devel require pkgconfig Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - either libtool or the bad libtool hacks caused link against glib-gobject 1.3.2, rebuild Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - 1.3.6 - bad libtool workarounds Fri May 04 2001 Owen Taylor <otaylor@redhat.com> - 1.3.5, rename to glib2 Fri Nov 17 2000 Owen Taylor <otaylor@redhat.com> - Final 1.3.2 Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.2pre1 - Remove pkgconfig Sun Aug 13 2000 Owen Taylor <otaylor@redhat.com> - Call 1.3.1b instead of snap... the snap* naming doesn't order correctly. Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - new snapshot with fixed .pc files Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - include .pc files in file list Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - Include pkg-config - Upgrade to a glib CVS snapshot Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com> - rebuild to cope with glibc locale binary incompatibility Fri Jul 14 2000 Owen Taylor <otaylor@redhat.com> - Remove glib-config.1 manpage from build since it conflicts with glib-devel. When we go to glib glib1.2 setup, we should add it back Fri Jul 07 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.1 - Move back to standard %{prefix} Thu Jun 08 2000 Owen Taylor <otaylor@redhat.com> - Rebuild in /opt/gtk-beta Tue May 30 2000 Owen Taylor <otaylor@redhat.com> - New version (adds gobject) Tue Apr 25 2000 Owen Taylor <otaylor@redhat.com> - Don't blow away /etc/ld.so.conf (sorry!) Mon Apr 24 2000 Owen Taylor <otaylor@redhat.com> - Snapshot RPM for Pango testing Fri Feb 04 2000 Owen Taylor <otaylor@redhat.com> - Added fixes from stable branch of CVS Thu Oct 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.6 Fri Sep 24 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.5 Fri Sep 17 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.4 Mon Jun 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.3 Thu Mar 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.1 Fri Feb 26 1999 Michael Fulbright <drmike@redhat.com> - Version 1.2 Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.0pre1 Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com> - new description tags Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com> - removed libtoolize from %build Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com> - added libgthread to file list Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.15 Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.14 Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.13 Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.12 Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com> - updated in preparation for the GNOME freeze Mon Apr 13 1998 Marc Ewing <marc@redhat.com> - Split out glib package
2004-09-09 05:16:47 +00:00
2011-01-22 15:20:04 +00:00
auto-import changelog data from glib2-1.3.6-6.src.rpm Fri Jul 20 2001 Owen Taylor <otaylor@redhat.com> - Make -devel package require main package (#45388) - Fix description and summary - Configure with --disable-gtk-doc Wed Jun 20 2001 Florian La Roche <Florian.LaRoche@redhat.de> - add some portability fixes needed at least on s390 - copy config.{guess,sub} instead of calling libtoolize Wed Jun 13 2001 Havoc Pennington <hp@redhat.com> - try a new glib tarball with Makefile changes to work around libtool linking to installed .la files - make -devel require pkgconfig Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - either libtool or the bad libtool hacks caused link against glib-gobject 1.3.2, rebuild Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - 1.3.6 - bad libtool workarounds Fri May 04 2001 Owen Taylor <otaylor@redhat.com> - 1.3.5, rename to glib2 Fri Nov 17 2000 Owen Taylor <otaylor@redhat.com> - Final 1.3.2 Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.2pre1 - Remove pkgconfig Sun Aug 13 2000 Owen Taylor <otaylor@redhat.com> - Call 1.3.1b instead of snap... the snap* naming doesn't order correctly. Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - new snapshot with fixed .pc files Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - include .pc files in file list Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - Include pkg-config - Upgrade to a glib CVS snapshot Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com> - rebuild to cope with glibc locale binary incompatibility Fri Jul 14 2000 Owen Taylor <otaylor@redhat.com> - Remove glib-config.1 manpage from build since it conflicts with glib-devel. When we go to glib glib1.2 setup, we should add it back Fri Jul 07 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.1 - Move back to standard %{prefix} Thu Jun 08 2000 Owen Taylor <otaylor@redhat.com> - Rebuild in /opt/gtk-beta Tue May 30 2000 Owen Taylor <otaylor@redhat.com> - New version (adds gobject) Tue Apr 25 2000 Owen Taylor <otaylor@redhat.com> - Don't blow away /etc/ld.so.conf (sorry!) Mon Apr 24 2000 Owen Taylor <otaylor@redhat.com> - Snapshot RPM for Pango testing Fri Feb 04 2000 Owen Taylor <otaylor@redhat.com> - Added fixes from stable branch of CVS Thu Oct 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.6 Fri Sep 24 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.5 Fri Sep 17 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.4 Mon Jun 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.3 Thu Mar 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.1 Fri Feb 26 1999 Michael Fulbright <drmike@redhat.com> - Version 1.2 Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.0pre1 Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com> - new description tags Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com> - removed libtoolize from %build Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com> - added libgthread to file list Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.15 Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.14 Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.13 Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.12 Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com> - updated in preparation for the GNOME freeze Mon Apr 13 1998 Marc Ewing <marc@redhat.com> - Split out glib package
2004-09-09 05:16:47 +00:00
%package devel
2007-02-03 18:39:01 +00:00
Summary: A library of handy utility functions
2013-05-28 23:34:23 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
auto-import changelog data from glib2-1.3.6-6.src.rpm Fri Jul 20 2001 Owen Taylor <otaylor@redhat.com> - Make -devel package require main package (#45388) - Fix description and summary - Configure with --disable-gtk-doc Wed Jun 20 2001 Florian La Roche <Florian.LaRoche@redhat.de> - add some portability fixes needed at least on s390 - copy config.{guess,sub} instead of calling libtoolize Wed Jun 13 2001 Havoc Pennington <hp@redhat.com> - try a new glib tarball with Makefile changes to work around libtool linking to installed .la files - make -devel require pkgconfig Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - either libtool or the bad libtool hacks caused link against glib-gobject 1.3.2, rebuild Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - 1.3.6 - bad libtool workarounds Fri May 04 2001 Owen Taylor <otaylor@redhat.com> - 1.3.5, rename to glib2 Fri Nov 17 2000 Owen Taylor <otaylor@redhat.com> - Final 1.3.2 Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.2pre1 - Remove pkgconfig Sun Aug 13 2000 Owen Taylor <otaylor@redhat.com> - Call 1.3.1b instead of snap... the snap* naming doesn't order correctly. Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - new snapshot with fixed .pc files Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - include .pc files in file list Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - Include pkg-config - Upgrade to a glib CVS snapshot Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com> - rebuild to cope with glibc locale binary incompatibility Fri Jul 14 2000 Owen Taylor <otaylor@redhat.com> - Remove glib-config.1 manpage from build since it conflicts with glib-devel. When we go to glib glib1.2 setup, we should add it back Fri Jul 07 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.1 - Move back to standard %{prefix} Thu Jun 08 2000 Owen Taylor <otaylor@redhat.com> - Rebuild in /opt/gtk-beta Tue May 30 2000 Owen Taylor <otaylor@redhat.com> - New version (adds gobject) Tue Apr 25 2000 Owen Taylor <otaylor@redhat.com> - Don't blow away /etc/ld.so.conf (sorry!) Mon Apr 24 2000 Owen Taylor <otaylor@redhat.com> - Snapshot RPM for Pango testing Fri Feb 04 2000 Owen Taylor <otaylor@redhat.com> - Added fixes from stable branch of CVS Thu Oct 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.6 Fri Sep 24 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.5 Fri Sep 17 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.4 Mon Jun 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.3 Thu Mar 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.1 Fri Feb 26 1999 Michael Fulbright <drmike@redhat.com> - Version 1.2 Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.0pre1 Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com> - new description tags Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com> - removed libtoolize from %build Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com> - added libgthread to file list Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.15 Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.14 Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.13 Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.12 Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com> - updated in preparation for the GNOME freeze Mon Apr 13 1998 Marc Ewing <marc@redhat.com> - Split out glib package
2004-09-09 05:16:47 +00:00
%description devel
2010-03-28 04:32:39 +00:00
The glib2-devel package includes the header files for the GLib library.
auto-import changelog data from glib2-1.3.6-6.src.rpm Fri Jul 20 2001 Owen Taylor <otaylor@redhat.com> - Make -devel package require main package (#45388) - Fix description and summary - Configure with --disable-gtk-doc Wed Jun 20 2001 Florian La Roche <Florian.LaRoche@redhat.de> - add some portability fixes needed at least on s390 - copy config.{guess,sub} instead of calling libtoolize Wed Jun 13 2001 Havoc Pennington <hp@redhat.com> - try a new glib tarball with Makefile changes to work around libtool linking to installed .la files - make -devel require pkgconfig Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - either libtool or the bad libtool hacks caused link against glib-gobject 1.3.2, rebuild Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - 1.3.6 - bad libtool workarounds Fri May 04 2001 Owen Taylor <otaylor@redhat.com> - 1.3.5, rename to glib2 Fri Nov 17 2000 Owen Taylor <otaylor@redhat.com> - Final 1.3.2 Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.2pre1 - Remove pkgconfig Sun Aug 13 2000 Owen Taylor <otaylor@redhat.com> - Call 1.3.1b instead of snap... the snap* naming doesn't order correctly. Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - new snapshot with fixed .pc files Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - include .pc files in file list Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - Include pkg-config - Upgrade to a glib CVS snapshot Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com> - rebuild to cope with glibc locale binary incompatibility Fri Jul 14 2000 Owen Taylor <otaylor@redhat.com> - Remove glib-config.1 manpage from build since it conflicts with glib-devel. When we go to glib glib1.2 setup, we should add it back Fri Jul 07 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.1 - Move back to standard %{prefix} Thu Jun 08 2000 Owen Taylor <otaylor@redhat.com> - Rebuild in /opt/gtk-beta Tue May 30 2000 Owen Taylor <otaylor@redhat.com> - New version (adds gobject) Tue Apr 25 2000 Owen Taylor <otaylor@redhat.com> - Don't blow away /etc/ld.so.conf (sorry!) Mon Apr 24 2000 Owen Taylor <otaylor@redhat.com> - Snapshot RPM for Pango testing Fri Feb 04 2000 Owen Taylor <otaylor@redhat.com> - Added fixes from stable branch of CVS Thu Oct 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.6 Fri Sep 24 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.5 Fri Sep 17 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.4 Mon Jun 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.3 Thu Mar 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.1 Fri Feb 26 1999 Michael Fulbright <drmike@redhat.com> - Version 1.2 Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.0pre1 Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com> - new description tags Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com> - removed libtoolize from %build Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com> - added libgthread to file list Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.15 Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.14 Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.13 Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.12 Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com> - updated in preparation for the GNOME freeze Mon Apr 13 1998 Marc Ewing <marc@redhat.com> - Split out glib package
2004-09-09 05:16:47 +00:00
2012-10-10 12:09:39 +00:00
%package doc
Summary: A library of handy utility functions
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
The glib2-doc package includes documentation for the GLib library.
%package static
Summary: glib static
Requires: %{name}-devel = %{version}-%{release}
%description static
The %{name}-static subpackage contains static libraries for %{name}.
2013-05-28 23:34:23 +00:00
%package tests
Summary: Tests for the glib2 package
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests
The glib2-tests package contains tests that can be used to verify
the functionality of the installed glib2 package.
%prep
%autosetup -n glib-%{version} -p1
2008-09-18 01:09:53 +00:00
%build
2021-05-05 13:37:39 +00:00
# No surprise bundled libraries
rm -rf glib/pcre
rm -rf subprojects
2019-01-03 12:57:37 +00:00
%meson \
-Dman=true \
-Ddtrace=true \
-Dsystemtap=true \
2021-02-24 10:22:20 +00:00
-Dsysprof=enabled \
2021-03-08 08:36:55 +00:00
-Dglib_debug=disabled \
2019-01-03 12:57:37 +00:00
-Dgtk_doc=true \
-Dinstalled_tests=true \
-Dgnutls=true \
--default-library=both \
%{nil}
2019-01-03 12:57:37 +00:00
%meson_build
2006-11-20 05:31:21 +00:00
%install
2019-01-03 12:57:37 +00:00
%meson_install
# We need reproducible .pyc files across architectures to support multilib installations
# https://bugzilla.redhat.com/show_bug.cgi?id=2008912
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
%global py_reproducible_pyc_path %{buildroot}%{_datadir}
# Since this is a generated .py file, set it to a known timestamp
# because the source timestamp is baked into the .pyc file
# Also copy the timestamp for other .py files, because meson doesn't
# do this, see https://github.com/mesonbuild/meson/issues/5027.
touch -r gio/gdbus-2.0/codegen/config.py.in %{buildroot}%{_datadir}/glib-2.0/codegen/*.py
chrpath --delete %{buildroot}%{_libdir}/*.so
# Perform byte compilation manually to avoid issues with
# irreproducibility of the default invalidation mode, see
# https://www.python.org/dev/peps/pep-0552/ and
# https://bugzilla.redhat.com/show_bug.cgi?id=1686078
%py_byte_compile %{python3} %{buildroot}%{_datadir}
mv %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-%{__isa_bits}
sed -i -e "/^gio_querymodules=/s/gio-querymodules/gio-querymodules-%{__isa_bits}/" %{buildroot}%{_libdir}/pkgconfig/gio-2.0.pc
2010-04-19 23:59:51 +00:00
mkdir -p %{buildroot}%{_libdir}/gio/modules
touch %{buildroot}%{_libdir}/gio/modules/giomodule.cache
%find_lang glib20
2015-08-14 15:55:58 +00:00
%transfiletriggerin -- %{_libdir}/gio/modules
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || :
2010-01-25 21:48:08 +00:00
2015-08-14 15:55:58 +00:00
%transfiletriggerpostun -- %{_libdir}/gio/modules
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || :
2015-08-14 15:55:58 +00:00
%transfiletriggerin -- %{_datadir}/glib-2.0/schemas
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
2015-08-14 15:55:58 +00:00
%transfiletriggerpostun -- %{_datadir}/glib-2.0/schemas
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files -f glib20.lang
2014-07-12 15:12:45 +00:00
%license COPYING
%doc AUTHORS NEWS README
2012-02-06 23:24:22 +00:00
%{_libdir}/libglib-2.0.so.*
%{_libdir}/libgthread-2.0.so.*
%{_libdir}/libgmodule-2.0.so.*
%{_libdir}/libgobject-2.0.so.*
%{_libdir}/libgio-2.0.so.*
2012-06-26 04:49:47 +00:00
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
2013-10-29 08:40:11 +00:00
%{_datadir}/bash-completion/completions/gapplication
2018-09-05 14:36:53 +00:00
%{_datadir}/bash-completion/completions/gdbus
2018-08-02 09:13:04 +00:00
%{_datadir}/bash-completion/completions/gio
2018-09-05 14:36:53 +00:00
%{_datadir}/bash-completion/completions/gsettings
2010-05-15 03:05:10 +00:00
%dir %{_datadir}/glib-2.0
%dir %{_datadir}/glib-2.0/schemas
2008-06-17 03:38:55 +00:00
%dir %{_libdir}/gio
%dir %{_libdir}/gio/modules
%ghost %{_libdir}/gio/modules/giomodule.cache
2016-07-17 19:30:58 +00:00
%{_bindir}/gio
2010-01-25 21:48:08 +00:00
%{_bindir}/gio-querymodules*
2010-04-24 01:13:47 +00:00
%{_bindir}/glib-compile-schemas
2010-04-23 11:02:50 +00:00
%{_bindir}/gsettings
2010-05-15 02:51:25 +00:00
%{_bindir}/gdbus
2013-10-29 08:40:11 +00:00
%{_bindir}/gapplication
2016-07-17 19:30:58 +00:00
%{_mandir}/man1/gio.1*
%{_mandir}/man1/gio-querymodules.1*
%{_mandir}/man1/glib-compile-schemas.1*
%{_mandir}/man1/gsettings.1*
%{_mandir}/man1/gdbus.1*
%{_mandir}/man1/gapplication.1*
%files devel
2007-02-10 04:56:34 +00:00
%{_libdir}/lib*.so
2006-05-25 14:21:04 +00:00
%{_libdir}/glib-2.0
%{_includedir}/*
%{_datadir}/aclocal/*
%{_libdir}/pkgconfig/*
2010-05-15 03:13:50 +00:00
%{_datadir}/glib-2.0/gdb
%{_datadir}/glib-2.0/gettext
2010-04-19 23:27:40 +00:00
%{_datadir}/glib-2.0/schemas/gschema.dtd
2017-02-13 13:14:22 +00:00
%{_datadir}/glib-2.0/valgrind/glib.supp
2012-06-26 05:02:20 +00:00
%{_datadir}/bash-completion/completions/gresource
2010-03-10 05:31:02 +00:00
%{_bindir}/glib-genmarshal
%{_bindir}/glib-gettextize
%{_bindir}/glib-mkenums
%{_bindir}/gobject-query
%{_bindir}/gtester
2011-05-06 12:17:50 +00:00
%{_bindir}/gdbus-codegen
2012-01-17 04:39:46 +00:00
%{_bindir}/glib-compile-resources
2012-02-06 23:24:22 +00:00
%{_bindir}/gresource
2012-10-10 12:09:39 +00:00
%{_datadir}/glib-2.0/codegen
2010-03-10 05:31:02 +00:00
%attr (0755, root, root) %{_bindir}/gtester-report
%{_mandir}/man1/glib-genmarshal.1*
%{_mandir}/man1/glib-gettextize.1*
%{_mandir}/man1/glib-mkenums.1*
%{_mandir}/man1/gobject-query.1*
%{_mandir}/man1/gtester-report.1*
%{_mandir}/man1/gtester.1*
%{_mandir}/man1/gdbus-codegen.1*
%{_mandir}/man1/glib-compile-resources.1*
%{_mandir}/man1/gresource.1*
%{_datadir}/gdb/
2016-01-19 11:50:02 +00:00
%{_datadir}/gettext/
%{_datadir}/systemtap/
2009-09-23 01:26:50 +00:00
2012-10-10 12:09:39 +00:00
%files doc
2021-02-04 20:30:48 +00:00
%{_datadir}/gtk-doc/
2012-10-10 12:09:39 +00:00
%files static
%{_libdir}/libgio-2.0.a
%{_libdir}/libglib-2.0.a
%{_libdir}/libgmodule-2.0.a
%{_libdir}/libgobject-2.0.a
%{_libdir}/libgthread-2.0.a
2013-05-28 23:34:23 +00:00
%files tests
2013-06-20 10:52:35 +00:00
%{_libexecdir}/installed-tests
2013-05-28 23:34:23 +00:00
%{_datadir}/installed-tests
auto-import changelog data from glib2-1.3.6-6.src.rpm Fri Jul 20 2001 Owen Taylor <otaylor@redhat.com> - Make -devel package require main package (#45388) - Fix description and summary - Configure with --disable-gtk-doc Wed Jun 20 2001 Florian La Roche <Florian.LaRoche@redhat.de> - add some portability fixes needed at least on s390 - copy config.{guess,sub} instead of calling libtoolize Wed Jun 13 2001 Havoc Pennington <hp@redhat.com> - try a new glib tarball with Makefile changes to work around libtool linking to installed .la files - make -devel require pkgconfig Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - either libtool or the bad libtool hacks caused link against glib-gobject 1.3.2, rebuild Tue Jun 12 2001 Havoc Pennington <hp@redhat.com> - 1.3.6 - bad libtool workarounds Fri May 04 2001 Owen Taylor <otaylor@redhat.com> - 1.3.5, rename to glib2 Fri Nov 17 2000 Owen Taylor <otaylor@redhat.com> - Final 1.3.2 Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.2pre1 - Remove pkgconfig Sun Aug 13 2000 Owen Taylor <otaylor@redhat.com> - Call 1.3.1b instead of snap... the snap* naming doesn't order correctly. Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - new snapshot with fixed .pc files Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - include .pc files in file list Thu Aug 10 2000 Havoc Pennington <hp@redhat.com> - Include pkg-config - Upgrade to a glib CVS snapshot Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com> - rebuild to cope with glibc locale binary incompatibility Fri Jul 14 2000 Owen Taylor <otaylor@redhat.com> - Remove glib-config.1 manpage from build since it conflicts with glib-devel. When we go to glib glib1.2 setup, we should add it back Fri Jul 07 2000 Owen Taylor <otaylor@redhat.com> - Version 1.3.1 - Move back to standard %{prefix} Thu Jun 08 2000 Owen Taylor <otaylor@redhat.com> - Rebuild in /opt/gtk-beta Tue May 30 2000 Owen Taylor <otaylor@redhat.com> - New version (adds gobject) Tue Apr 25 2000 Owen Taylor <otaylor@redhat.com> - Don't blow away /etc/ld.so.conf (sorry!) Mon Apr 24 2000 Owen Taylor <otaylor@redhat.com> - Snapshot RPM for Pango testing Fri Feb 04 2000 Owen Taylor <otaylor@redhat.com> - Added fixes from stable branch of CVS Thu Oct 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.6 Fri Sep 24 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.5 Fri Sep 17 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.4 Mon Jun 07 1999 Owen Taylor <otaylor@redhat.com> - version 1.2.3 Thu Mar 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.1 Fri Feb 26 1999 Michael Fulbright <drmike@redhat.com> - Version 1.2 Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com> - version 1.2.0pre1 Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com> - new description tags Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com> - removed libtoolize from %build Thu Feb 11 1999 Michael Fulbright <drmike@redhat.com> - added libgthread to file list Fri Feb 05 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.15 Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.14 Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.13 Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com> - version 1.1.12 Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com> - updated in preparation for the GNOME freeze Mon Apr 13 1998 Marc Ewing <marc@redhat.com> - Split out glib package
2004-09-09 05:16:47 +00:00
%changelog
2021-07-12 20:42:05 +00:00
%autochangelog