libxdg-basedir/libxdg-basedir.spec

71 lines
2.3 KiB
RPMSpec

Name: libxdg-basedir
Version: 1.2.0
Release: 2mamba
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: http://n.ethz.ch/~nevillm/download/libxdg-basedir/libxdg-basedir-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%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
* 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