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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 662364 by ovitters, Sun Jul 6 15:57:31 2014 UTC revision 662365 by wally, Wed Aug 13 19:22:52 2014 UTC
# Line 1  Line 1 
1  %define libname %mklibname %{name} %{version}  %define api 1.04
2    %define major 0
3    %define libname %mklibname %{name} %{api} %{major}
4  %define develname %mklibname %{name} -d  %define develname %mklibname %{name} -d
5    
6  Summary:        Program for tidying up messy HTML  Summary:        Program for tidying up messy HTML
7  Name:           tidyp  Name:           tidyp
8  Version:        1.04  Version:        1.04
9  Release:        %mkrel 5  Release:        %mkrel 6
10  Group:          Text tools  Group:          Text tools
11  License:        W3C License  License:        W3C License
12  URL:            http://tidyp.com/  URL:            http://tidyp.com/
# Line 25  tidyp is a fork of the tidy project. Line 27  tidyp is a fork of the tidy project.
27  %package -n     %{libname}  %package -n     %{libname}
28  Summary:        Main library for %{name}  Summary:        Main library for %{name}
29  Group:          System/Libraries  Group:          System/Libraries
30    Obsoletes:      %{_lib}%{name}1.04 < 1.04-6
31    
32  %description -n %{libname}  %description -n %{libname}
33  This package contains the library needed to run programs dynamically  This package contains the library needed to run programs dynamically
# Line 47  applications which will use %{name}. Line 50  applications which will use %{name}.
50  %patch0 -p1  %patch0 -p1
51    
52  %build  %build
53  %configure2_5x  %configure2_5x \
54            --disable-static
55  %make  %make
56    
57  %install  %install
58  %makeinstall_std  %makeinstall_std
59    
60  # don't ship .a, .la  # don't ship .la
61  find %{buildroot} -name *.a | xargs rm -f  find %{buildroot} -name "*.la" -delete
 find %{buildroot} -name *.la | xargs rm -f  
62    
63  %files  %files
64  %doc README ChangeLog  %doc README ChangeLog
65  %{_bindir}/*  %{_bindir}/*
66    
67  %files -n %{libname}  %files -n %{libname}
68  %{_libdir}/*.so.*  %{_libdir}/lib%{name}-%{api}.so.%{major}
69    %{_libdir}/lib%{name}-%{api}.so.%{major}.*
70    
71  %files -n %{develname}  %files -n %{develname}
72  %{_includedir}/*  %{_includedir}/*
73  %{_libdir}/*.so  %{_libdir}/lib%{name}.so

Legend:
Removed from v.662364  
changed lines
  Added in v.662365

  ViewVC Help
Powered by ViewVC 1.1.30