|
@@ -1,37 +1,42 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define _unpackaged_files_terminate_build 1
|
|
%define _unpackaged_files_terminate_build 1
|
|
|
|
|
|
-Summary: A library of handy utility functions.
|
|
|
|
-Name: glib2
|
|
|
|
-Version: 2.58.3
|
|
|
|
-Release: 1%{?_dist_release}
|
|
|
|
-License: LGPLv2+
|
|
|
|
-Group: System Environment/Libraries
|
|
|
|
-Source: http://ftp.gnome.org/pub/GNOME/sources/glib/2.48/glib-%{version}.tar.xz
|
|
|
|
-Source2: glib2.sh
|
|
|
|
-Source3: glib2.csh
|
|
|
|
|
|
+Summary: A library of handy utility functions.
|
|
|
|
+Name: glib2
|
|
|
|
+Version: 2.62.2
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
|
|
-BuildRoot: %{_tmppath}/glib-%{version}-root
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
|
|
|
|
+
|
|
|
|
+License: LGPLv2+
|
|
|
|
+URL: http://www.gtk.org
|
|
|
|
+%define shortver %(echo %{version} | cut -d. -f1-2)
|
|
|
|
+Source: https://download.gnome.org/sources/glib/%{shortver}/glib-%{version}.tar.xz
|
|
|
|
+Source2: glib2.sh
|
|
|
|
+Source3: glib2.csh
|
|
|
|
+
|
|
|
|
+BuildRoot: %{_tmppath}/glib-%{version}-root
|
|
|
|
|
|
-BuildRequires: pkgconfig >= 0.14
|
|
|
|
BuildRequires: dbus-devel
|
|
BuildRequires: dbus-devel
|
|
|
|
+BuildRequires: docbook-style-xsl
|
|
BuildRequires: gamin-devel
|
|
BuildRequires: gamin-devel
|
|
|
|
+BuildRequires: libattr-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: libffi-devel
|
|
-BuildRequires: zlib-devel
|
|
|
|
-BuildRequires: python-devel
|
|
|
|
-BuildRequires: pcre-devel >= 8.13
|
|
|
|
BuildRequires: libmount-devel
|
|
BuildRequires: libmount-devel
|
|
-BuildRequires: gtk-doc
|
|
|
|
|
|
+BuildRequires: libxslt
|
|
|
|
+BuildRequires: meson
|
|
|
|
+BuildRequires: pcre-devel >= 8.13
|
|
|
|
+BuildRequires: pkgconfig >= 0.14
|
|
|
|
+BuildRequires: python3-devel
|
|
|
|
+BuildRequires: zlib-devel
|
|
Obsoletes: glib-gtkbeta
|
|
Obsoletes: glib-gtkbeta
|
|
|
|
|
|
# for gio-querymodules
|
|
# for gio-querymodules
|
|
Requires(post,postun): libffi
|
|
Requires(post,postun): libffi
|
|
|
|
|
|
-URL: http://www.gtk.org
|
|
|
|
-
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
|
|
|
|
|
|
|
|
%description
|
|
%description
|
|
GLib is the low-level core library that forms the basis
|
|
GLib is the low-level core library that forms the basis
|
|
@@ -40,7 +45,7 @@ handling for C, portability wrappers, and interfaces for such runtime
|
|
functionality as an event loop, threads, dynamic loading, and an
|
|
functionality as an event loop, threads, dynamic loading, and an
|
|
object system.
|
|
object system.
|
|
|
|
|
|
-This package provides version 2.48 of GLib.
|
|
|
|
|
|
+This package provides version %{shortver} of GLib.
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for the GLib library
|
|
Summary: Development files for the GLib library
|
|
@@ -55,7 +60,7 @@ Conflicts: glib-devel <= 1.2.8
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
The glib-devel package includes the header files for
|
|
The glib-devel package includes the header files for
|
|
-version 2.48 of the GLib library.
|
|
|
|
|
|
+version %{shortver} of the GLib library.
|
|
|
|
|
|
|
|
|
|
## to build compat32 for x86_64 architecture support
|
|
## to build compat32 for x86_64 architecture support
|
|
@@ -70,7 +75,7 @@ handling for C, portability wrappers, and interfaces for such runtime
|
|
functionality as an event loop, threads, dynamic loading, and an
|
|
functionality as an event loop, threads, dynamic loading, and an
|
|
object system.
|
|
object system.
|
|
|
|
|
|
-This package provides version 2.48 of GLib.
|
|
|
|
|
|
+This package provides version %{shortver} of GLib.
|
|
|
|
|
|
%package -n compat32-%{name}-devel
|
|
%package -n compat32-%{name}-devel
|
|
Summary: Development files for the GLib library
|
|
Summary: Development files for the GLib library
|
|
@@ -82,22 +87,23 @@ Conflicts: glib-devel <= 1.2.8
|
|
|
|
|
|
%description -n compat32-%{name}-devel
|
|
%description -n compat32-%{name}-devel
|
|
The glib-devel package includes the header files for
|
|
The glib-devel package includes the header files for
|
|
-version 2.48 of the GLib library.
|
|
|
|
|
|
+version %{shortver} of the GLib library.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n glib-%{version}
|
|
%setup -q -n glib-%{version}
|
|
|
|
|
|
%build
|
|
%build
|
|
-NOCONFIGURE=1 ./autogen.sh
|
|
|
|
-%configure --disable-selinux --enable-static --enable-systemtap
|
|
|
|
-make %{?_smp_mflags}
|
|
|
|
|
|
+%meson \
|
|
|
|
+ -Dselinux=disabled \
|
|
|
|
+ -Dman=true
|
|
|
|
+
|
|
|
|
+%meson_build
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
-make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
+%meson_install
|
|
|
|
|
|
## glib2.sh and glib2.csh
|
|
## glib2.sh and glib2.csh
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
|
@@ -107,6 +113,7 @@ install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
|
#mkdir -p $RPM_BUILD_ROOT%{python_sitearch}
|
|
#mkdir -p $RPM_BUILD_ROOT%{python_sitearch}
|
|
#ln -sf %{_libdir}/gdbus-2.0/codegen $RPM_BUILD_ROOT%{python_sitearch}/codegen
|
|
#ln -sf %{_libdir}/gdbus-2.0/codegen $RPM_BUILD_ROOT%{python_sitearch}/codegen
|
|
|
|
|
|
|
|
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/gio/modules
|
|
touch $RPM_BUILD_ROOT%{_libdir}/gio/modules/giomodule.cache
|
|
touch $RPM_BUILD_ROOT%{_libdir}/gio/modules/giomodule.cache
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
@@ -147,7 +154,10 @@ gio-querymodules %{_libdir}/gio/modules
|
|
%{_libdir}/libgmodule-2.0.so.*
|
|
%{_libdir}/libgmodule-2.0.so.*
|
|
%{_libdir}/libgobject-2.0.so.*
|
|
%{_libdir}/libgobject-2.0.so.*
|
|
%{_libdir}/libgio-2.0.so.*
|
|
%{_libdir}/libgio-2.0.so.*
|
|
-%{_libdir}/gio/modules/lib*.so
|
|
|
|
|
|
+%dir %{_libdir}/gio
|
|
|
|
+%dir %{_libdir}/gio/modules
|
|
|
|
+#%{_libdir}/gio/modules/giomodule.cache
|
|
|
|
+#%{_libdir}/gio/modules/lib*.so
|
|
%{_sysconfdir}/profile.d/*
|
|
%{_sysconfdir}/profile.d/*
|
|
%dir %{_datadir}/bash-completion/completions
|
|
%dir %{_datadir}/bash-completion/completions
|
|
%dir %{_datadir}/bash-completion
|
|
%dir %{_datadir}/bash-completion
|
|
@@ -168,7 +178,7 @@ gio-querymodules %{_libdir}/gio/modules
|
|
%{_bindir}/gtester
|
|
%{_bindir}/gtester
|
|
%{_bindir}/gtester-report
|
|
%{_bindir}/gtester-report
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
-%{_libdir}/lib*.a
|
|
|
|
|
|
+#%{_libdir}/lib*.a
|
|
#%{_libdir}/gdbus-2.0/codegen/*
|
|
#%{_libdir}/gdbus-2.0/codegen/*
|
|
%{_libdir}/glib-2.0
|
|
%{_libdir}/glib-2.0
|
|
%{_libdir}/pkgconfig/*
|
|
%{_libdir}/pkgconfig/*
|
|
@@ -194,16 +204,19 @@ gio-querymodules %{_libdir}/gio/modules
|
|
%{_libdir}/libgmodule-2.0.so.*
|
|
%{_libdir}/libgmodule-2.0.so.*
|
|
%{_libdir}/libgobject-2.0.so.*
|
|
%{_libdir}/libgobject-2.0.so.*
|
|
%{_libdir}/libgio-2.0.so.*
|
|
%{_libdir}/libgio-2.0.so.*
|
|
-%{_libdir}/gio/modules/lib*.so
|
|
|
|
|
|
+%dir %{_libdir}/gio
|
|
|
|
+%dir %{_libdir}/gio/modules
|
|
|
|
|
|
%files -n compat32-%{name}-devel
|
|
%files -n compat32-%{name}-devel
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
-%{_libdir}/lib*.a
|
|
|
|
%{_libdir}/glib-2.0
|
|
%{_libdir}/glib-2.0
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Nov 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.62.2-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Sat Apr 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.58.3-1
|
|
* Sat Apr 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.58.3-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|