Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
be9d7b7ea0 | ||
|
a0a7b2ccb2 | ||
|
21f2fdeeb9 | ||
|
fe268be38e | ||
|
2821e645a6 | ||
|
8e404a9411 | ||
|
f3fe7fe40b | ||
|
c3f5987ba2 |
@ -1 +0,0 @@
|
|||||||
glib-2.23.3.tar.bz2
|
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
glib-2.24.1.tar.bz2
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
|||||||
# Makefile for source rpm: glib2
|
|
||||||
# $Id: Makefile,v 1.3 2007/10/15 18:47:38 notting Exp $
|
|
||||||
NAME := glib2
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attempt a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
55
glib2.spec
55
glib2.spec
@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
Summary: A library of handy utility functions
|
Summary: A library of handy utility functions
|
||||||
Name: glib2
|
Name: glib2
|
||||||
Version: 2.23.3
|
Version: 2.24.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
Source: http://download.gnome.org/sources/glib/2.23/glib-%{version}.tar.bz2
|
#VCS: git:git://git.gnome.org/glib
|
||||||
|
Source: http://download.gnome.org/sources/glib/2.24/glib-%{version}.tar.bz2
|
||||||
Source2: glib2.sh
|
Source2: glib2.sh
|
||||||
Source3: glib2.csh
|
Source3: glib2.csh
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: pkgconfig >= 1:0.14
|
BuildRequires: pkgconfig >= 1:0.14
|
||||||
BuildRequires: gamin-devel
|
BuildRequires: gamin-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@ -23,13 +23,10 @@ BuildRequires: automake autoconf libtool
|
|||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GLib is the low-level core library that forms the basis
|
GLib is the low-level core library that forms the basis for projects
|
||||||
for projects such as GTK+ and GNOME. It provides data structure
|
such as GTK+ and GNOME. It provides data structure handling for C,
|
||||||
handling for C, portability wrappers, and interfaces for such runtime
|
portability wrappers, and interfaces for such runtime functionality
|
||||||
functionality as an event loop, threads, dynamic loading, and an
|
as an event loop, threads, dynamic loading, and an object system.
|
||||||
object system.
|
|
||||||
|
|
||||||
This package provides version 2 of GLib.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: A library of handy utility functions
|
Summary: A library of handy utility functions
|
||||||
@ -38,8 +35,7 @@ Requires: pkgconfig >= 1:0.14
|
|||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The glib2-devel package includes the header files for
|
The glib2-devel package includes the header files for the GLib library.
|
||||||
version 2 of the GLib library.
|
|
||||||
|
|
||||||
# anaconda needs static libs, see RH bug #193143
|
# anaconda needs static libs, see RH bug #193143
|
||||||
%package static
|
%package static
|
||||||
@ -48,14 +44,17 @@ Group: Development/Libraries
|
|||||||
Requires: %{name}-devel = %{version}-%{release}
|
Requires: %{name}-devel = %{version}-%{release}
|
||||||
|
|
||||||
%description static
|
%description static
|
||||||
The glib2-static package includes static libraries
|
The glib2-static package includes static libraries of the GLib library.
|
||||||
of version 2 of the GLib library.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n glib-%{version}
|
%setup -q -n glib-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-gtk-doc --enable-static --with-runtime-libdir=../../%{_lib}
|
%configure --disable-gtk-doc --enable-static --with-runtime-libdir=../../%{_lib}
|
||||||
|
# remove rpaths
|
||||||
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
# truncate NEWS
|
# truncate NEWS
|
||||||
@ -65,7 +64,6 @@ awk '/^Overview of Changes/ { seen+=1 }
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
## glib2.sh and glib2.csh
|
## glib2.sh and glib2.csh
|
||||||
@ -142,7 +140,12 @@ esac
|
|||||||
%{_datadir}/glib-2.0
|
%{_datadir}/glib-2.0
|
||||||
%exclude %{_datadir}/glib-2.0/gdb/*.pyo
|
%exclude %{_datadir}/glib-2.0/gdb/*.pyo
|
||||||
%exclude %{_datadir}/glib-2.0/gdb/*.pyc
|
%exclude %{_datadir}/glib-2.0/gdb/*.pyc
|
||||||
%{_bindir}/*
|
%{_bindir}/glib-genmarshal
|
||||||
|
%{_bindir}/glib-gettextize
|
||||||
|
%{_bindir}/glib-mkenums
|
||||||
|
%{_bindir}/gobject-query
|
||||||
|
%{_bindir}/gtester
|
||||||
|
%attr (0755, root, root) %{_bindir}/gtester-report
|
||||||
%doc %{_datadir}/gtk-doc/html/*
|
%doc %{_datadir}/gtk-doc/html/*
|
||||||
%doc %{_mandir}/man1/*
|
%doc %{_mandir}/man1/*
|
||||||
%{_datadir}/gdb/auto-load%{libdir}/libglib-2.0.so.*-gdb.py*
|
%{_datadir}/gdb/auto-load%{libdir}/libglib-2.0.so.*-gdb.py*
|
||||||
@ -154,8 +157,26 @@ esac
|
|||||||
%{_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 2 2010 Matthias Clasen <mclasen@redhat.com> - 2.24.1-1
|
||||||
|
- Update to 2.24.1
|
||||||
|
|
||||||
|
* Sun Mar 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
|
||||||
|
- Update to 2.24.0
|
||||||
|
|
||||||
|
* Mon Mar 22 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.6-1
|
||||||
|
- Update to 2.23.6
|
||||||
|
|
||||||
|
* Wed Mar 10 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.5-2
|
||||||
|
- Fix some rpmlint complaints
|
||||||
|
|
||||||
|
* Tue Mar 9 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.5-1
|
||||||
|
- Update to 2.23.5
|
||||||
|
|
||||||
|
* Sun Feb 21 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.4-1
|
||||||
|
- Update to 2.23.4
|
||||||
|
|
||||||
* Thu Feb 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.3-1
|
* Thu Feb 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.3-1
|
||||||
= Update to 2.23.3
|
- Update to 2.23.3
|
||||||
|
|
||||||
* Mon Jan 25 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.2-3
|
* Mon Jan 25 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.2-3
|
||||||
- Actually apply the patch, too
|
- Actually apply the patch, too
|
||||||
|
Loading…
Reference in New Issue
Block a user