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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1517423 - (hide 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 wally 662365 %define api 1.04
2     %define major 0
3     %define libname %mklibname %{name} %{api} %{major}
4 kamil 202377 %define develname %mklibname %{name} -d
5 ahmad 31631
6     Summary: Program for tidying up messy HTML
7 kamil 202377 Name: tidyp
8     Version: 1.04
9 umeabot 1517423 Release: %mkrel 12
10 ahmad 31631 Group: Text tools
11     License: W3C License
12     URL: http://tidyp.com/
13 kamil 202377 Source0: http://github.com/downloads/petdance/tidyp/%{name}-%{version}.tar.gz
14 ahmad 31631 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 kamil 202377
27 ahmad 31631 %package -n %{libname}
28     Summary: Main library for %{name}
29     Group: System/Libraries
30 wally 662365 Obsoletes: %{_lib}%{name}1.04 < 1.04-6
31 ahmad 31631
32     %description -n %{libname}
33     This package contains the library needed to run programs dynamically
34     linked with %{name}.
35    
36 kamil 202377
37 ahmad 31631 %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 kamil 202377
48 ahmad 31631 %prep
49     %setup -q
50 ovitters 1146778 %autopatch -p1
51 ahmad 31631
52 wally 1242826 # make autoreconf happy
53     sed -i -e 's,AM_INIT_AUTOMAKE.*,AM_INIT_AUTOMAKE(\[foreign subdir-objects\]),' configure.ac
54    
55 ahmad 31631 %build
56 wally 1242826 # fix build on aarch64
57     autoreconf -vfi
58    
59 wally 1480671 %configure \
60 wally 662365 --disable-static
61 wally 1242826 %make_build
62 ahmad 31631
63     %install
64 wally 1242826 %make_install
65 ahmad 31631
66 wally 662365 # don't ship .la
67     find %{buildroot} -name "*.la" -delete
68 ahmad 31658
69 ahmad 31631 %files
70     %doc README ChangeLog
71     %{_bindir}/*
72    
73     %files -n %{libname}
74 wally 662365 %{_libdir}/lib%{name}-%{api}.so.%{major}
75     %{_libdir}/lib%{name}-%{api}.so.%{major}.*
76 ahmad 31631
77     %files -n %{develname}
78     %{_includedir}/*
79 wally 662365 %{_libdir}/lib%{name}.so

  ViewVC Help
Powered by ViewVC 1.1.28