libxdg-basedir/libxdg-basedir.spec

77 lines
2.4 KiB
RPMSpec

Name: libxdg-basedir
Version: 1.2.3
Release: 1mamba
Summary: A library that implements the XDG Base Directory Specification defines
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/devnev/libxdg-basedir
Source: https://github.com/devnev/libxdg-basedir.git/libxdg-basedir-%{version}/libxdg-basedir-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
The XDG Base Directory Specification defines where should user files be looked for by defining one or more base directories relative in with they should be located.
This library implements functions to list the directories according to the specification and provides a few higher-level functions.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The XDG Base Directory Specification defines where should user files be looked for by defining one or more base directories relative in with they should be located.
This library implements functions to list the directories according to the specification and provides a few higher-level functions.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
#sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libxdg-basedir.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}
%{_includedir}/*.h
%{_libdir}/libxdg-basedir.a
%{_libdir}/libxdg-basedir.la
%{_libdir}/libxdg-basedir.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-1mamba
- update to 1.2.3
* Sat Feb 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-1mamba
- update to 1.2.2
* Sat Dec 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- rebuilt with debug package and aarch64 build fix
* Tue Jan 24 2012 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Mon Oct 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
- package created by autospec