xmlstarlet/xmlstarlet.spec

50 lines
1.1 KiB
RPMSpec
Raw Normal View History

Name: xmlstarlet
Version: 1.6.1
Release: 1mamba
Summary: Command Line XML Toolkit
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://xmlstar.sourceforge.net/
Source: https://sourceforge.net/projects/xmlstar/files/xmlstarlet/%{version}/xmlstarlet-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 xmlstarlet' to get the list of build requirements.
## AUTOBUILDREQ-END
%description
Command Line XML Toolkit.
%debug_package
%prep
%setup -q
%build
%configure \
--enable-build-docs \
LIBXSLT_PREFIX=%{_prefix} \
LIBXML_PREFIX=%{_prefix}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/xml
%dir %{_datadir}/doc/xmlstarlet
%{_datadir}/doc/xmlstarlet/*
%{_mandir}/man1/xmlstarlet.1*
%doc AUTHORS COPYING
%changelog
* Thu Apr 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-1mamba
- package created using the webbuild interface