Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 3c5d782bb690c163d8ffb72298bf4caa > files > 4

tidy-20090904-6.mga4.src.rpm

%define name	tidy
%define version 20090904
%define release %mkrel 6
%define epoch	1
%define apiver	0.99
%define major	0
%define libname %mklibname %{name} %{apiver} %{major}
%define develname %mklibname %name -d

Summary:	Program for tidying up messy HTML
Name:		%{name}
Version:	%{version}
Release:	%{release}
Epoch:		%{epoch}
Group:		Text tools
License:	W3C License
URL:		http://tidy.sourceforge.net/
Source0:	http://tidy.sourceforge.net/src/tidy-%{version}.tar.bz2
Patch0:		tidy-20081224cvs-fix-format-errors.patch
Patch1:		tidy-20080322cvs-preserve-table-id.patch
Requires:	%{libname} = %{epoch}:%{version}
BuildRequires:	xsltproc

%description
tidy is a program for tidying up messy html, for example, when we do 
html in vi, and we make the text italic with the <i> </i> tag some of us may
forget to end the italic text with </i>. tidy fixes this.

Install this if you need a program to help you tidy up your HTML.

%package -n	%{libname}
Summary:	Main library for %{name}
Group:		System/Libraries
Obsoletes:	%mklibname tidy 0.99

%description -n	%{libname}
This package contains the library needed to run programs dynamically
linked with %{name}.

%package -n	%{develname}
Summary:	Headers for developing programs that will use %{name}
Group:		Development/Other
Requires:	%{libname} = %{epoch}:%{version}
Provides:	lib%{name}-devel = %{epoch}:%{version}
Provides:	%{name}-devel = %{epoch}:%{version}
Obsoletes:	%mklibname -d tidy 0
Obsoletes:	%mklibname -d tidy 0.99

%description -n	%{develname}
This package contains the headers that programmers will need to develop
applications which will use %{name}.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
sh build/gnuauto/setup.sh
%configure2_5x --disable-static
%make

# generate man page
console/tidy -xml-help >  htmldoc/tidy-help.xml
console/tidy -xml-config >  htmldoc/tidy-config.xml
xsltproc -o tidy.1 htmldoc/tidy1.xsl  htmldoc/tidy-help.xml

%install
%makeinstall_std

rm -f %{buildroot}%{_libdir}/*.la

install -d -m 755 %{buildroot}%{_mandir}/man1
install -m 644 tidy.1 %{buildroot}%{_mandir}/man1/%{name}.1

%files
%doc htmldoc/*
%{_bindir}/*
%{_mandir}/man1/*

%files -n %{libname}
%{_libdir}/libtidy-%{apiver}.so.%{major}
%{_libdir}/libtidy-%{apiver}.so.%{major}.*

%files -n %{develname}
%{_includedir}/*
%{_libdir}/*.so


%changelog
* Mon Oct 21 2013 umeabot <umeabot> 1:20090904-6.mga4
+ Revision: 540623
- Mageia 4 Mass Rebuild

* Wed Oct 09 2013 luigiwalser <luigiwalser> 1:20090904-5.mga4
+ Revision: 494067
- add upstream patch to fix upstream issue 2855621 (aka feature-request 347)

* Mon Jan 14 2013 umeabot <umeabot> 1:20090904-4.mga3
+ Revision: 384570
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Oct 13 2012 fwang <fwang> 1:20090904-3.mga3
+ Revision: 305204
- drop .la file

* Fri Jan 14 2011 mikala <mikala> 1:20090904-3.mga1
+ Revision: 17623
- Drop mdk macros
- imported package tidy


* Fri Dec 03 2010 Oden Eriksson <oeriksson@mandriva.com> 1:20090904-3mdv2011.0
+ Revision: 607994
- rebuild

* Sun Mar 14 2010 Oden Eriksson <oeriksson@mandriva.com> 1:20090904-2mdv2010.1
+ Revision: 519075
- rebuild

* Fri Sep 04 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1:20090904-1mdv2010.0
+ Revision: 431461
- new snapshot

* Fri Sep 04 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1:20081224-1mdv2010.0
+ Revision: 431414
- new CVS snapshot, from Debian
- generate man page from tidy-output
- don't ship API doc

* Thu Sep 03 2009 Christophe Fergeau <cfergeau@mandriva.com> 1:20051026-4mdv2010.0
+ Revision: 427356
- rebuild

* Sat Apr 11 2009 Funda Wang <fwang@mandriva.org> 1:20051026-3mdv2009.1
+ Revision: 366368
- fix str fmt

* Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 1:20051026-3mdv2009.0
+ Revision: 225691
- rebuild

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Fri Feb 01 2008 Funda Wang <fwang@mandriva.org> 1:20051026-2mdv2008.1
+ Revision: 160978
- New devel package policy

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request


* Tue Oct 31 2006 Oden Eriksson <oeriksson@mandriva.com> 20051026-1mdv2007.0
+ Revision: 74471
- Import tidy

* Fri Jan 20 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1:20051026-1mdk
- new version
- %%mkrel

* Sun Jan 01 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 20050415-2mdk
- Rebuild

* Tue Apr 26 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1:20050415-1mdk
- New release 20050415
- spec cleanup

* Sat Jan 22 2005 David Walluck <walluck@mandrake.org> 1:20050120-1mdk
- 20050120
- fix src URL

* Tue Jan 04 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 20041025-2mdk
- it builds perfectly fine with automake1.7 (on 10.0 too, that has no
  automake1.9)
- fix deps

* Sun Dec 05 2004 Guillaume Rousse <guillomovitch@mandrake.org> 20041025-1mdk 
- new version
- fix license spelling
- fix main package requires instead of lib package provides
- switch to automake 1.9

* Sat Jul 17 2004 Charles A Edwards <eslrahc@bellsouth.net> 20040713-2mdk 
- rm obsoletes/provides for hacktidy
- enforce versioing for automake
- fix provides for lib pkg

* Wed Jul 14 2004 Guillaume Rousse <guillomovitch@mandrake.org> 20040713-1mdk 
- new version
- revert to a sane versioning

* Tue Jun 15 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1:0.99-0.20040318.2mdk
- use the %%configure2_5x macro
- fix deps

* Mon Apr 26 2004 David Walluck <walluck@mandrake.org> 1:0.99-0.20040318.1mdk
- 20040318
- add epochs to all Provides/Requires

* Sun Feb 29 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.99-0.20040228.1mdk
- 20040228
- fixed dependencies

* Wed Dec 03 2003 Guillaume Rousse <guillomovitch@mandrake.org> 0.99-0.20031101.1mdk
- 20031101
- fixed lib package name