From 44dc07c83abc0a56fe73605a362ef0d3ee800d6d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 18 Sep 2024 21:51:50 +0200 Subject: [PATCH] package created using the webbuild interface [release 1.0.79-1mamba;Wed Sep 18 2024] --- README.md | 2 ++ libglibutil.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 libglibutil.spec diff --git a/README.md b/README.md index ef15a72..1027ca2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libglibutil +Library of glib utilities. + diff --git a/libglibutil.spec b/libglibutil.spec new file mode 100644 index 0000000..7daab5b --- /dev/null +++ b/libglibutil.spec @@ -0,0 +1,58 @@ +Name: libglibutil +Version: 1.0.79 +Release: 1mamba +Summary: Library of glib utilities +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/sailfishos/libglibutil +Source: https://github.com/sailfishos/libglibutil.git/%{version}/libglibutil-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libglib-devel +## AUTOBUILDREQ-END + +%description +Library of glib utilities. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%make STRIP=/bin/true + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall install-dev LIBDIR=%{_libdir} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libglibutil.so.* +%doc LICENSE + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/gutil +%{_includedir}/gutil/*.h +%{_libdir}/libglibutil.so +%{_libdir}/pkgconfig/libglibutil.pc +%doc README + +%changelog +* Wed Sep 18 2024 Silvan Calarco 1.0.79-1mamba +- package created using the webbuild interface