Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
GNOME:GNOME1
glib
glib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glib.spec of Package glib
# # spec file for package glib # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: glib # bug437293 %ifarch ppc64 Obsoletes: glib-64bit %endif # /bug437293 Version: 1.2.10 Release: 0 Summary: The Utility Functions for Gtk License: LGPL-2.1+ Group: System/Libraries Source: glib-%{version}.tar.bz2 Source99: baselibs.conf # PATCH-FIX-UPSTREAM glib-1.2.10.dif Patch0: glib-%{version}.dif # PATCH-FIX-UPSTREAM glib-1.2.10-gcc34.patch Patch1: glib-%{version}-gcc34.patch # PATCH-FIX-UPSTREAM glib-sentinel.patch Patch2: glib-sentinel.patch # PATCH-FIX-UPSTREAM glib-self-contained.patch Patch3: glib-self-contained.patch # PATCH-FIX-UPSTREAM glib-shift.patch Patch4: glib-shift.patch # PATCH-FIX-UPSTREAM glib-autotools.patch Patch5: glib-autotools.patch # PATCH-FIX-UPSTREAM glib-1.2.10-gcc5.patch -- Workaround for different inline semantics between GNU89 and C99 Patch6: glib-1.2.10-gcc5.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library of utility functions for Gtk. %package devel Summary: Development libraries and header files for using the GLib library Group: Development/Libraries/C and C++ Obsoletes: glibdev Provides: glibdev # bug437293 %ifarch ppc64 Obsoletes: glib-devel-64bit %endif # /bug437293 Requires(pre): %install_info_prereq Requires: %{name} = %{version} Requires: glibc-devel %description devel This package contains all necessary include files and libraries needed to compile and link applications which use the Glib library which provides utility functions for Gtk. %prep %setup -q %patch0 %patch1 -p1 %patch2 -p1 %patch3 %patch4 %patch5 -p1 %if 0%{?suse_version} > 1320 %patch6 %endif %build rm acinclude.m4 autoreconf -f -i %configure --disable-static --with-pic make %{?_smp_mflags} | tee make.log # Fix linking, so resulting library can be prelinked (#50796). cd gthread $(fgrep -- "-o libgthread.la" ../make.log) ../libglib.la cd .. %install make DESTDIR=%{buildroot} install # for whatever reason libgmodule is 644 chmod a+x %{buildroot}%{_libdir}/*.so.* rm %{buildroot}%{_infodir}/dir %if 0%{?suse_version} > 1110 rm -f %{buildroot}%{_libdir}/*.la %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel %install_info --info-dir=%{_infodir} %{_infodir}/glib.info.gz %postun devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/glib.info.gz %files %defattr(-,root,root) %doc AUTHORS COPYING README NEWS ChangeLog %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_bindir}/glib-config %{_includedir}/* %doc %{_infodir}/glib.info* %if 0%{?suse_version} <= 1110 %{_libdir}/*.la %endif %{_libdir}/*.so %{_libdir}/glib %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/*.m4 %doc %{_mandir}/man1/glib-config.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor