W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2006

Re: SPEC file for building tidy RPMs

From: Dorin Lazar <dorin.lazar@gmail.com>
Date: Sun, 19 Feb 2006 01:23:31 -0500
Message-ID: <db3da5c50602182223u1a6dcad2g25a4afa78d9fdbf2@mail.gmail.com>
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>, html-tidy@w3.org
  I am sorry, here's the attached file (Just in case it didn't attach
correctly I'll paste it below:
------------------- CUT HERE -------------------------------
%define debug_package %{nil}
Summary:         tidy - Program for tidying up messy HTML files
Name:            tidy
Version:         2005.10.26
Release:         1
License:         GPL
Group:           Applications/Tools
Packager:        Dorin Lazăr <dorin.lazar@gmail.com>
URL:             http://tidy.sourceforge.net/
Source:          tidy_src.tgz
BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-root
Requires:        tidy-libs

%description
The tidy is a program for tidying up messy HTML files.
When editing HTML it is 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        libs
Summary:        tidy development tools
Group:          Development/Libraries
Requires:       %{name}-libs = %{version}-%{release}

%description    libs
The tidy is a program for tidying up messy HTML files.
When editing HTML it is 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        devel
Summary:        tidy development tools
Group:          Development/Libraries
Requires:       %{name}-libs = %{version}-%{release}

%description    devel
The tidy is a program for tidying up messy HTML files.
When editing HTML it is 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.

%prep
%setup -q -n tidy
/bin/sh build/gnuauto/setup.sh
%{configure}

%build
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
#rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/tab2space
%{_bindir}/tidy

%files devel
%{_includedir}/
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so

%files libs
%{_libdir}/*.so.*

%changelog
* Sat Feb 18 2006 Dorin Lazăr <dorin.lazar@gmail.com>
- Remade the spec from scratch

------------------- CUT HERE -------------------------------

Received on Sunday, 19 February 2006 06:23:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:56 GMT