tidyp/tidyp.spec

Name: tidyp
Summary: Fork of tidy/libtidy
Version: 1.04
Release: 1
License: GPL
Group: Applications/Text
URL: http://tidyp.com/
Description: tidyp is a fork of tidy on SourceForge at http://tidy.sf.net. The library name is "tidyp", and the command-line tool is also "tidyp" but all internal API stays the same.

tidyp will validate your HTML, and output cleaned-up HTML.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: shuff
# Upstream: Andy Lester <andy$petdance,com>

Summary: Fork of tidy/libtidy
Name: tidyp
Version: 1.04
Release: 1%{?dist}
License: GPL
Group: Applications/Text
URL: http://tidyp.com/

Source: http://github.com/downloads/petdance/tidyp/tidyp-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: binutils
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: make

%description
tidyp is a fork of tidy on SourceForge at http://tidy.sf.net.  The
library name is "tidyp", and the command-line tool is also "tidyp"
but all internal API stays the same.

tidyp will validate your HTML, and output cleaned-up HTML.

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure \
    --disable-dependency-tracking \
    --disable-static \
    --enable-access \
    --enable-asian \
    --enable-utf16
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog INSTALL README
%{_bindir}/tidyp
%{_libdir}/libtidyp*.so.*

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/tidyp/
%{_libdir}/libtidyp.so
%exclude %{_libdir}/libtidyp.la

%changelog
* Tue Nov 30 2010 Steve Huff <shuff@vecna.org> - 1.04-1
- Updated to version 1.04.

* Wed Jun 30 2010 Steve Huff <shuff@vecna.org> - 1.02-1
- Initial package.