automatic rebuild by autodist [release 20080811-4mamba;Mon Oct 30 2023]

This commit is contained in:
Automatic Build System 2024-01-05 18:33:01 +01:00
parent 23b28716bd
commit c13678ddf4

View File

@ -1,26 +1,23 @@
%define libname libtidy
Name: tidy Name: tidy
Version: 20080811 Version: 20080811
Release: 2mamba Release: 4mamba
Summary: A program for tidying up messy HTML files Summary: A program for tidying up messy HTML files
Group: Applications/Web Group: Applications/Web
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://%{name}.sourceforge.net/ URL: http://%{name}.sourceforge.net/
Source0: http://tidy.sourceforge.net/src/tidy_src.tgz Source0: http://tidy.sourceforge.net/src/tidy_src.tgz
Source1: http://tidy.sourceforge.net/docs/tidy_docs.tgz Source1: http://tidy.sourceforge.net/docs/tidy_docs.tgz
License: W3C License License: W3C License
BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN
Requires: %{libname} = %{version} BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: cvs BuildRequires: cvs
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libxslt BuildRequires: libxslt
## AUTOBUILDREQ-BEGIN Requires: lib%{name} = %{version}-%{release}
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description %description
The tidy is a program for tidying up messy HTML files. The tidy is a program for tidying up messy HTML files.
@ -28,24 +25,26 @@ When editing HTML its easy to make mistakes.
Would not it be nice if there was a simple way to fix these mistakes automatically and tidy up sloppy editing into nicely layed out markup? Dave Raggetts HTML TIDY is a free utility for doing just that. Would not it be nice if there was a simple way to fix these mistakes automatically and tidy up sloppy editing into nicely layed out markup? Dave Raggetts HTML TIDY is a free utility for doing just that.
It also works great on the atrociously hard to read markup generated by specialized HTML editors and conversion tools, and can help you identify where you need to pay further attention on making your pages more accessible to people with disabilities. It also works great on the atrociously hard to read markup generated by specialized HTML editors and conversion tools, and can help you identify where you need to pay further attention on making your pages more accessible to people with disabilities.
%package -n %{libname} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
Summary: Shared library for tidy Summary: Shared library for tidy
%description -n %{libname} %description -n lib%{name}
TidyLib is a library version of Dave Raggett's popular HTML Tidy. TidyLib is a library version of Dave Raggett's popular HTML Tidy.
In fact, one of the motivations for starting the Source Forge project was to refactor HTML Tidy as a callable library. In fact, one of the motivations for starting the Source Forge project was to refactor HTML Tidy as a callable library.
Although the command line tool is great, it is difficult and inefficient to integrate into other software. Although the command line tool is great, it is difficult and inefficient to integrate into other software.
This package contains the library needed to run programs dynamically linked with tidy. This package contains the library needed to run programs dynamically linked with tidy.
%package -n %{libname}-devel %package -n lib%{name}-devel
Group: Development/Libraries Group: Development/Libraries
Summary: Static libraries and headers for %{name} Summary: Static libraries and headers for %{name}
Requires: %{libname} = %{version} Requires: lib%{name} = %{version}-%{release}
%description -n %{libname}-devel %description -n lib%{name}-devel
This package contains the headers, the shared libraries and the API documentation which programmers will need to develop applications based on tidy. This package contains the headers, the shared libraries and the API documentation which programmers will need to develop applications based on tidy.
%debug_package
%prep %prep
%setup -q -n %{name} -b 1 %setup -q -n %{name} -b 1
mv htmldoc/doxygen.cfg Doxyfile mv htmldoc/doxygen.cfg Doxyfile
@ -54,7 +53,13 @@ mv htmldoc/doxygen.cfg Doxyfile
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
/bin/sh build/gnuauto/setup.sh /bin/sh build/gnuauto/setup.sh
%configure --disable-dependency-tracking --includedir=%{_includedir}/%{name} --enable-access --enable-utf16 --enable-asian --enable-shared %configure \
--disable-dependency-tracking \
--includedir=%{_includedir}/%{name} \
--enable-access \
--enable-utf16 \
--enable-asian \
--enable-shared
%make all %make all
%make -j1 -C build/gmake/ doc %make -j1 -C build/gmake/ doc
@ -80,26 +85,31 @@ mv htmldoc/api _api
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc htmldoc/*
%{_datadir}/doc/tidy/quickref.html %{_datadir}/doc/tidy/quickref.html
%{_bindir}/tidy %{_bindir}/tidy
%{_bindir}/tab2space %{_bindir}/tab2space
%{_mandir}/man1/tidy.1* %{_mandir}/man1/tidy.1*
%doc htmldoc/*
%files -n %{libname} %files -n lib%{name}
%defattr(-, root, root) %defattr(-, root, root)
%doc htmldoc/license.html
%{_libdir}/libtidy*.so.* %{_libdir}/libtidy*.so.*
%doc htmldoc/license.html
%files -n %{libname}-devel %files -n lib%{name}-devel
%defattr(-, root, root) %defattr(-, root, root)
%doc _api/*
%{_includedir}/%{name}/*.h %{_includedir}/%{name}/*.h
%{_libdir}/libtidy.so %{_libdir}/libtidy.so
%{_libdir}/libtidy.a %{_libdir}/libtidy.a
%{_libdir}/libtidy.la %doc _api/*
%changelog %changelog
* Mon Oct 30 2023 Automatic Build System <autodist@mambasoft.it> 20080811-4mamba
- automatic rebuild by autodist
* Sun Oct 29 2023 Automatic Build System <autodist@mambasoft.it> 20080811-3mamba
- automatic rebuild by autodist
* Mon Oct 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 20080811-2mamba * Mon Oct 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 20080811-2mamba
- fixed maintainer - fixed maintainer
- removed some unused definitions - removed some unused definitions