Name: glib2 %define _name glib Version: 2.33.12 Release: 3%{?dist} License: LGPLv2.1+ Summary: A Library with Convenient Functions Written in C Url: http://www.gtk.org/ Group: Development/Libraries/C and C++ Vendor: bww bitwise works GmbH %scm_source svn http://svn.netlabs.org/repos/ports/glib/trunk 1643 #Source1: glib2-legacy.zip BuildRequires: gcc make subversion zip BuildRequires: autoconf automake BuildRequires: libtool > 2.4.5 #BuildRequires: fam-devel #BuildRequires: fdupes #BuildRequires: gcc-c++ #BuildRequires: pcre-devel BuildRequires: pkgconfig #BuildRequires: translation-update-upstream BuildRequires: zlib-devel BuildRequires: libffi-devel gettext-devel bind-devel # For temporary %%posttrans script only. #PreReq: coreutils #PreReq: /bin/sed #Requires: %{name}-branding #Requires: %{name}-lang = %{version} # Provides: glib2-doc = 2.19.6 Obsoletes: glib2-doc < 2.19.6 # YD this must be added to force dll install Requires: libglib-2_0-0 = %{version} Requires: libgmodule-2_0-0 = %{version} Requires: libgthread-2_0-0 = %{version} Requires: libgobject-2_0-0 = %{version} %description This library provides convenient functions, such as lists and hashes, to a C programmer and is used by Gtk+ and GNOME. #%package branding-upstream #License: LGPLv2.1+ #Summary: Definition of GNOME Default Applications #Group: Development/Libraries/C and C++ #Provides: %{name}-branding = %{version} #Conflicts: otherproviders(%{name}-branding) #Supplements: packageand(%{name}:branding-upstream) #BRAND: The /etc/gnome_defaults.conf allows to define arbitrary #BRAND: applications as preferred defaults. # NOTE: gnome_defaults is not an upstream feature, but a SuSE # enhancement, but to conform branding conventions, the package is named # as glib2-branding-upstream. #%description branding-upstream #This branding-style package sets default applications in GNOME in #openSUSE. #This is a dumb package, which provides only upstream GNOME packages as #preferred defaults. You most probably don't want this package. You #probably want to install distribution default glib2-branding and prefer #distribution wise GNOME defaults. %package devel #' License: GPLv2+ Requires: %{name} = %{version} pkgconfig # glibc-devel # Now require the subpackages too Requires: libglib-2_0-0 = %{version} Requires: libgmodule-2_0-0 = %{version} #Requires: libgio-2_0-0 = %{version} Requires: libgthread-2_0-0 = %{version} Requires: libgobject-2_0-0 = %{version} Summary: Include files and libraries mandatory for development Group: Development/Libraries/C and C++ %description devel This package contains all necessary include files, libraries, configuration files and development tools (with manual pages) needed to compile and link applications using the glib library. The glib library provides convenient functions, such as lists and hashes, to a C programmer and is used by Gtk+ and GNOME. %package -n libglib-2_0-0 License: LGPLv2.1+ Summary: A Library with Convenient Functions Written in C Group: Development/Libraries/C and C++ #Recommends: %{name}-lang = %{version} %description -n libglib-2_0-0 This library provides convenient functions, such as lists and hashes, to a C programmer and is used by Gtk+ and GNOME. %package -n libgmodule-2_0-0 License: LGPLv2.1+ Summary: A Library with Convenient Functions Written in C Group: Development/Libraries/C and C++ %description -n libgmodule-2_0-0 This library provides convenient functions, such as lists and hashes, to a C programmer and is used by Gtk+ and GNOME. %package -n libgio-2_0-0 License: LGPLv2.1+ Summary: A Library with Convenient Functions Written in C Group: Development/Libraries/C and C++ # Temporarily disable this, pending further discussion # Recommends: gvfs %description -n libgio-2_0-0 This library provides convenient functions, such as lists and hashes, to a C programmer and is used by Gtk+ and GNOME. #%package -n libgio-fam #License: LGPLv2.1+ #Summary: A Library with Convenient Functions Written in C #Group: Development/Libraries/C and C++ # we need gio-querymodules in %post/%postun #Requires(post): %{name} #Requires(postun): %{name} #Supplements: packageand(libgio-2_0-0:fam) #%description -n libgio-fam #This library provides convenient functions, such as lists and hashes, #to a C programmer and is used by Gtk+ and GNOME. %package -n libgthread-2_0-0 License: LGPLv2.1+ Summary: A Library with Convenient Functions Written in C Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description -n libgthread-2_0-0 This library provides convenient functions, such as lists and hashes, to a C programmer and is used by Gtk+ and GNOME. %package -n libgobject-2_0-0 License: LGPLv2.1+ Summary: A Library with Convenient Functions Written in C Group: Development/Libraries/C and C++ %description -n libgobject-2_0-0 This library provides convenient functions, such as lists and hashes, to a C programmer and is used by Gtk+ and GNOME. %debug_package # @todo (dmik) We don't support this macro, put language files into the main package #%lang_package %prep %scm_setup cat > gtk-doc.make < 1100 rm $RPM_BUILD_ROOT%{_libdir}/*.la #%endif %find_lang %{_name}20 #%fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files -f %{_name}20.lang %defattr(-,root,root) %doc AUTHORS COPYING README NEWS ChangeLog #/etc/profile.d/zzz-glib2.* #/sbin/conf.d/SuSEconfig.glib2 %{_bindir}/gio-querymodules* %{_datadir}/bash-completion/completions/* #%files branding-upstream #%defattr(-,root,root) #%config (noreplace) %{_sysconfdir}/gnome_defaults.conf %files -n libglib-2_0-0 %defattr(-, root, root) %{_libdir}/glib*.dll %files -n libgmodule-2_0-0 %defattr(-, root, root) %{_libdir}/gmod*.dll %files -n libgobject-2_0-0 %defattr(-, root, root) %{_libdir}/gobj*.dll %files -n libgthread-2_0-0 %defattr(-, root, root) %{_libdir}/gthr*.dll %files -n libgio-2_0-0 %defattr(-, root, root) %{_libdir}/gio*.dll #%dir %{_libdir}/gio #%dir %{_libdir}/gio/modules #%ghost %{_libdir}/gio/modules/giomodule.cache ##%{_datadir}/applications/defaults.list #%dir %{_localstatedir}/cache/gio-2.0 #%ghost %{_localstatedir}/cache/gio-2.0/defaults.list #%files -n libgio-fam #%defattr(-,root,root) #%{_libdir}/gio/modules/libgiofam.so %files devel %defattr(-,root,root) %{_bindir}/glib-* %{_bindir}/gobject-* %{_bindir}/gtester* %{_bindir}/gresource* %{_bindir}/gsettings* %{_bindir}/gdbus* #%doc %{_mandir}/man?/glib-*.* #%doc %{_mandir}/man?/gobject-*.* #%doc %{_mandir}/man?/gtester*.* %{_datadir}/aclocal/*.m4 %{_datadir}/glib-2.0 %{_includedir}/glib-2.0 %{_includedir}/gio-unix-2.0 %{_libdir}/*.a %{_libdir}/glib-2.0 %{_libdir}/pkgconfig/*.pc %{_libdir}/gdbus-2.0/* #%{_datadir}/gtk-doc/html/gio #%{_datadir}/gtk-doc/html/glib #%{_datadir}/gtk-doc/html/gobject #%{_datadir}/gdb/auto-load/%{_libdir}/*-gdb.py %{_datadir}/gdb/auto-load/* # Own these directories to not depend on gtk-doc while building: #%dir %{_datadir}/gtk-doc #%dir %{_datadir}/gtk-doc/html # Own these directories to not depend on gdb %dir %{_datadir}/gdb %dir %{_datadir}/gdb/auto-load #%dir %{_datadir}/gdb/auto-load/%{_prefix} #%dir %{_datadir}/gdb/auto-load/%{_prefix}/%{_lib} %changelog * Tue Aug 21 2018 Silvan Scherrer 2.33.12-3 - rebuild with latest tool chain - use new scm_ macros - use libcx - remove legacy package * Tue Jul 05 2016 yd 2.33.12-2 - r1643, use gettext code to embed codepage aliases. ticket#14. * Sat Jun 18 2016 yd 2.33.12-1 - r1605, use ISO8859-1 as default mapping, added _EURO locales. - add legacy package for 2.25 compatibility. - build public version. * Wed Jan 27 2016 Dmitriy Kuminov 2.25.15-5 - Remove .la files from distribution. - Build with gcc-4.9.2 against libc-0.6.6. - Switch to downloading sources from SVN. * Wed Jul 18 2012 yd - include Dmitry's changes for OpenJDK build.