%define _disable_source_fetch 0 Name: libglibutil Version: 1.0.67 Release: 1%{?dist} Summary: Library of glib utilities License: BSD URL: https://github.com/sailfishos/libglibutil Source: %{url}/archive/refs/tags/%{version}.tar.gz BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) pkgconfig(rpm) BuildRequires: make gcc Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description Provides glib utility functions and macros %package devel Summary: Development library for %{name} Requires: %{name} = %{version} Requires: pkgconfig %description devel This package contains the development library for %{name}. %prep %setup -q %build %{set_build_flags} %make_build LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig %install rm -rf %{buildroot} %{make_build} LIBDIR=%{_libdir} DESTDIR=%{buildroot} install-dev %check %{make_build} -C test test %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license LICENSE %defattr(-,root,root,-) %{_libdir}/%{name}.so.* %files devel %defattr(-,root,root,-) %{_libdir}/pkgconfig/*.pc %{_libdir}/%{name}.so %{_includedir}/gutil/*.h %changelog * Sat Oct 29 2022 Alessandro Astone - 1.0.67-1 - Update to 1.0.67 * Mon Aug 22 2022 Benson Muite - 1.0.66-1 - Update to new release * Sun Dec 12 2021 Mo 森 - 1.0.61-1 - Track a new upstream URL - Use the 'make_build' macro - 1.0.61