Re: SPEC file for building tidy RPMs

  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 UTC