Accepting request 67505 from devel:languages:perl

Accepted submit request 67505 from user babelworx

OBS-URL: https://build.opensuse.org/request/show/67505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tidyp?expand=0&rev=1
This commit is contained in:
Sascha Peilicke 2011-04-19 07:27:57 +00:00 committed by Git OBS Bridge
commit 29b96bba4a
6 changed files with 148 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

12
_service Normal file
View File

@ -0,0 +1,12 @@
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">github.com</param>
<param name="path">/downloads/petdance/tidyp/tidyp-1.04.tar.gz</param>
</service>
<service name="verify_file">
<param name="file">_service:download_url:tidyp-1.04.tar.gz</param>
<param name="verifier">sha256</param>
<param name="checksum">20b0fad32c63575bd4685ed09b8c5ca222bbc7b15284210d4b576d0223f0b338</param>
</service>
</services>

BIN
_service:download_url:tidyp-1.04.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

5
tidyp.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Tue Apr 12 18:15:23 UTC 2011 - coolo@opensuse.org
- initial package

104
tidyp.spec Normal file
View File

@ -0,0 +1,104 @@
#
# spec file for package tidy (Version 1.0.20100204cvs)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: tidyp
Version: 1.04
Release: 2
Summary: Utility to Clean Up and Pretty-print HTML, XHTML or XML Markup
Group: Productivity/Publishing/HTML/Tools
License: Use, copy, modify but please mark changes
Url: http://tidy.sourceforge.net/
Source0: tidyp-%{version}.tar.gz
AutoReqProv: on
BuildRequires: libtool
BuildRequires: libxslt
BuildRequires: doxygen
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Tidy is a commandline frontend to TidyLib which allows for cleaning up and
pretty printing HTML, XHTML and XML markup in a variety of file encodings. For
HTML variants, it can detect and report proprietary elements as well as many
common coding errors, correct them and produce visually equivalent markup
which is both compliant with W3C standards and works on most browsers.
Furthermore, it can convert plain HTML to XHTML. For generic XML files, Tidy is
limited to correcting basic well-formedness errors and pretty printing.
%package -n libtidyp-1_04-0
License: Use, copy, modify but please mark changes
Summary: Library to Clean Up and Pretty-print HTML, XHTML or XML Markup
Group: Productivity/Publishing/HTML/Tools
AutoReqProv: on
%description -n libtidyp-1_04-0
TidyLib is a library for cleaning up and pretty printing HTML, XHTML and XML
markup in a variety of file encodings. For HTML variants, it can detect and
report proprietary elements as well as many common coding errors, correct them
and produce visually equivalent markup which is both compliant with W3C
standards and works on most browsers. Furthermore, it can convert plain HTML
into XHTML. For generic XML files, Tidy is limited to correcting basic
well-formedness errors and pretty printing.
There is a commandline frontend for this library, contained in the package
"tidy".
%package -n libtidyp-devel
License: Use, copy, modify but please mark changes
Summary: Include Files and Libraries for Development
Group: Development/Libraries/C and C++
Requires: libtidyp-1_04-0 = %{version} glibc-devel
AutoReqProv: on
%description -n libtidyp-devel
This package contains all necessary include files and libraries needed
to develop applications using functions provided by the TidyLib library.
%prep
%setup -q
%build
%configure --disable-static --with-pic --disable-dependency-tracking
make %{?_smp_mflags} all
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/libtidyp.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libtidyp-1_04-0 -p /sbin/ldconfig
%postun -n libtidyp-1_04-0 -p /sbin/ldconfig
%files
%defattr(-, root, root)
/usr/bin/tidyp
%files -n libtidyp-1_04-0
%defattr(-, root, root)
%{_libdir}/libtidy*.so.*
%files -n libtidyp-devel
%defattr(-, root, root)
%{_includedir}/%{name}
%_libdir/libtidyp.so
%changelog