diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0c27267 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/1.0.67.tar.gz diff --git a/libglibutil.spec b/libglibutil.spec new file mode 100644 index 0000000..f2cfc68 --- /dev/null +++ b/libglibutil.spec @@ -0,0 +1,55 @@ +Name: libglibutil +Version: 1.0.67 +Release: 1%{?dist} +Summary: Library of glib utilities +License: BSD +URL: https://github.com/sailfishos/libglibutil +Source0: %{url}/archive/refs/tags/%{version}.tar.gz + +BuildRequires: pkgconfig +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: make gcc + +%description +Provides glib utility functions and macros + +%package devel +Summary: Development library for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +This package contains the development library for %{name}. + +%prep +%setup -q + +%build +%make_build LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig + +%install +%{make_build} LIBDIR=%{_libdir} DESTDIR=%{buildroot} install-dev + +%check +%{make_build} -C test test + +%files +%license LICENSE +%{_libdir}/%{name}.so.* + +%files devel +%{_libdir}/pkgconfig/*.pc +%{_libdir}/%{name}.so +%{_includedir}/gutil + +%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 diff --git a/sources b/sources new file mode 100644 index 0000000..dfbdca4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (1.0.67.tar.gz) = 5b8d4b00ae149bba0b2df55d5e23910dc52ef3a7ee9162202afe4774e246e9389ba971b3d54ac0542b3678b15a3310c8d0e7536b7296d1a3b82e2ae2f021c541