automatic rebuild by autodist [release 20080811-4mamba;Mon Oct 30 2023]
This commit is contained in:
parent
23b28716bd
commit
c13678ddf4
52
tidy.spec
52
tidy.spec
@ -1,26 +1,23 @@
|
||||
%define libname libtidy
|
||||
|
||||
Name: tidy
|
||||
Version: 20080811
|
||||
Release: 2mamba
|
||||
Release: 4mamba
|
||||
Summary: A program for tidying up messy HTML files
|
||||
Group: Applications/Web
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Aleph0 <aleph0@openmamba.org>
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://%{name}.sourceforge.net/
|
||||
Source0: http://tidy.sourceforge.net/src/tidy_src.tgz
|
||||
Source1: http://tidy.sourceforge.net/docs/tidy_docs.tgz
|
||||
License: W3C License
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Requires: %{libname} = %{version}
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cvs
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxslt
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: lib%{name} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
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.
|
||||
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
|
||||
Summary: Shared library for tidy
|
||||
|
||||
%description -n %{libname}
|
||||
%description -n lib%{name}
|
||||
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.
|
||||
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.
|
||||
|
||||
%package -n %{libname}-devel
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
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.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name} -b 1
|
||||
mv htmldoc/doxygen.cfg Doxyfile
|
||||
@ -54,7 +53,13 @@ mv htmldoc/doxygen.cfg Doxyfile
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
/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 -j1 -C build/gmake/ doc
|
||||
@ -80,26 +85,31 @@ mv htmldoc/api _api
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc htmldoc/*
|
||||
%{_datadir}/doc/tidy/quickref.html
|
||||
%{_bindir}/tidy
|
||||
%{_bindir}/tab2space
|
||||
%{_mandir}/man1/tidy.1*
|
||||
%doc htmldoc/*
|
||||
|
||||
%files -n %{libname}
|
||||
%files -n lib%{name}
|
||||
%defattr(-, root, root)
|
||||
%doc htmldoc/license.html
|
||||
%{_libdir}/libtidy*.so.*
|
||||
%doc htmldoc/license.html
|
||||
|
||||
%files -n %{libname}-devel
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-, root, root)
|
||||
%doc _api/*
|
||||
%{_includedir}/%{name}/*.h
|
||||
%{_libdir}/libtidy.so
|
||||
%{_libdir}/libtidy.a
|
||||
%{_libdir}/libtidy.la
|
||||
%doc _api/*
|
||||
|
||||
%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
|
||||
- fixed maintainer
|
||||
- removed some unused definitions
|
||||
|
Loading…
Reference in New Issue
Block a user