libglibutil/libglibutil.spec

59 lines
1.4 KiB
RPMSpec
Raw Normal View History

Name: libglibutil
Version: 1.0.79
Release: 1mamba
Summary: Library of glib utilities
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.0.79-1mamba
- package created using the webbuild interface