/[packages]/cauldron/tidyp/current/SPECS/tidyp.spec
ViewVC logotype

Contents of /cauldron/tidyp/current/SPECS/tidyp.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1517423 - (show annotations) (download)
Fri Feb 14 05:22:50 2020 UTC (23 months, 1 week ago) by umeabot
File size: 1938 byte(s)
Mageia 8 Mass Rebuild
1 %define api 1.04
2 %define major 0
3 %define libname %mklibname %{name} %{api} %{major}
4 %define develname %mklibname %{name} -d
5
6 Summary: Program for tidying up messy HTML
7 Name: tidyp
8 Version: 1.04
9 Release: %mkrel 12
10 Group: Text tools
11 License: W3C License
12 URL: http://tidyp.com/
13 Source0: http://github.com/downloads/petdance/tidyp/%{name}-%{version}.tar.gz
14 Patch0: tidy-20081224cvs-fix-format-errors.patch
15
16 %description
17 tidyp is a program that can validate your HTML, as well as modify it to be more
18 clean and standard. tidyp does not validate HTML 5.
19
20 libtidyp is the library on which the program is based. It can be used by any
21 other program that can interface to it. The Perl module HTML::Tidy is based on
22 this library, allowing Perl programmers to easily validate HTML.
23
24 tidyp is a fork of the tidy project.
25
26
27 %package -n %{libname}
28 Summary: Main library for %{name}
29 Group: System/Libraries
30 Obsoletes: %{_lib}%{name}1.04 < 1.04-6
31
32 %description -n %{libname}
33 This package contains the library needed to run programs dynamically
34 linked with %{name}.
35
36
37 %package -n %{develname}
38 Summary: Headers for developing programs that will use %{name}
39 Group: Development/Other
40 Requires: %{libname} = %{version}-%{release}
41 Provides: %{name}-devel = %{version}-%{release}
42
43 %description -n %{develname}
44 This package contains the headers that programmers will need to develop
45 applications which will use %{name}.
46
47
48 %prep
49 %setup -q
50 %autopatch -p1
51
52 # make autoreconf happy
53 sed -i -e 's,AM_INIT_AUTOMAKE.*,AM_INIT_AUTOMAKE(\[foreign subdir-objects\]),' configure.ac
54
55 %build
56 # fix build on aarch64
57 autoreconf -vfi
58
59 %configure \
60 --disable-static
61 %make_build
62
63 %install
64 %make_install
65
66 # don't ship .la
67 find %{buildroot} -name "*.la" -delete
68
69 %files
70 %doc README ChangeLog
71 %{_bindir}/*
72
73 %files -n %{libname}
74 %{_libdir}/lib%{name}-%{api}.so.%{major}
75 %{_libdir}/lib%{name}-%{api}.so.%{major}.*
76
77 %files -n %{develname}
78 %{_includedir}/*
79 %{_libdir}/lib%{name}.so

  ViewVC Help
Powered by ViewVC 1.1.28