fixed maintainer
removed some unused definitions [release 20080811-2mamba;Mon Oct 06 2008]
This commit is contained in:
parent
e5fc7b543e
commit
23b28716bd
@ -1,2 +1,7 @@
|
|||||||
# tidy
|
# tidy
|
||||||
|
|
||||||
|
The tidy is a program for tidying up messy HTML files.
|
||||||
|
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.
|
||||||
|
|
||||||
|
116
tidy.spec
Normal file
116
tidy.spec
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
%define libname libtidy
|
||||||
|
|
||||||
|
Name: tidy
|
||||||
|
Version: 20080811
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: A program for tidying up messy HTML files
|
||||||
|
Group: Applications/Web
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Aleph0 <aleph0@openmamba.org>
|
||||||
|
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}
|
||||||
|
BuildRequires: cvs
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: libxslt
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
The tidy is a program for tidying up messy HTML files.
|
||||||
|
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}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Shared library for tidy
|
||||||
|
|
||||||
|
%description -n %{libname}
|
||||||
|
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
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Static libraries and headers for %{name}
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
|
%description -n %{libname}-devel
|
||||||
|
This package contains the headers, the shared libraries and the API documentation which programmers will need to develop applications based on tidy.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name} -b 1
|
||||||
|
mv htmldoc/doxygen.cfg Doxyfile
|
||||||
|
|
||||||
|
%build
|
||||||
|
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
|
||||||
|
|
||||||
|
%make all
|
||||||
|
%make -j1 -C build/gmake/ doc
|
||||||
|
doxygen
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
|
rm -rf %{buildroot} _api
|
||||||
|
%makeinstall DESTDIR="%{buildroot}"
|
||||||
|
# Manpage
|
||||||
|
install -Dpm 644 htmldoc/tidy.1 %{buildroot}%{_mandir}/man1/tidy.1
|
||||||
|
# Quick Reference
|
||||||
|
install -Dpm 644 htmldoc/quickref.html %{buildroot}%{_defaultdocdir}/%{name}/quickref.html
|
||||||
|
# Move API directory out of the way
|
||||||
|
mv htmldoc/api _api
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc htmldoc/*
|
||||||
|
%{_datadir}/doc/tidy/quickref.html
|
||||||
|
%{_bindir}/tidy
|
||||||
|
%{_bindir}/tab2space
|
||||||
|
%{_mandir}/man1/tidy.1*
|
||||||
|
|
||||||
|
%files -n %{libname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc htmldoc/license.html
|
||||||
|
%{_libdir}/libtidy*.so.*
|
||||||
|
|
||||||
|
%files -n %{libname}-devel
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc _api/*
|
||||||
|
%{_includedir}/%{name}/*.h
|
||||||
|
%{_libdir}/libtidy.so
|
||||||
|
%{_libdir}/libtidy.a
|
||||||
|
%{_libdir}/libtidy.la
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Oct 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 20080811-2mamba
|
||||||
|
- fixed maintainer
|
||||||
|
- removed some unused definitions
|
||||||
|
|
||||||
|
* Sun Oct 05 2008 Tiziana Ferro <tiziana.ferro@email.it> 20080109-1mamba
|
||||||
|
- update to 20080109
|
||||||
|
- switch to cvs
|
||||||
|
|
||||||
|
* Fri Jan 13 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 20051026-1qilnx
|
||||||
|
- update to version 20051026 by autospec
|
||||||
|
- moved tools to tidy package
|
||||||
|
|
||||||
|
* Thu Oct 21 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.99.0-1qilnx
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user