tidy-html5/tidy-html5.spec

83 lines
2.1 KiB
RPMSpec
Raw Normal View History

Name: tidy-html5
Version: 5.8.0
Release: 1mamba
Summary: The granddaddy of HTML tools, with support for modern standards
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.html-tidy.org
Source: https://github.com/htacg/tidy-html5.git/%{version}/tidy-html5-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
The granddaddy of HTML tools, with support for modern standards.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/tidy
%{_mandir}/man1/tidy.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libtidy.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/tidy.h
%{_includedir}/tidybuffio.h
%{_includedir}/tidyenum.h
%{_includedir}/tidyplatform.h
%{_libdir}/libtidy.so
%{_libdir}/libtidy.a
%{_libdir}/pkgconfig/tidy.pc
%doc README.md
%changelog
* Wed Dec 08 2021 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Tue Apr 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface