/[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 31657 by ahmad, Sat Jan 22 07:55:40 2011 UTC revision 31658 by ahmad, Sat Jan 22 08:03:47 2011 UTC
# Line 1  Line 1 
1  %define name    tidyp  %define name    tidyp
2  %define version 1.04  %define version 1.04
3  %define release %mkrel 1  %define release %mkrel 2
4  %define libname %mklibname %{name} 1.04  %define libname %mklibname %{name} 1.04
5  %define develname %mklibname %name -d  %define develname %mklibname %name -d
6    
# Line 13  License:       W3C License Line 13  License:       W3C License
13  URL:            http://tidyp.com/  URL:            http://tidyp.com/
14  Source0:        http://github.com/downloads/petdance/tidyp/tidyp-%{version}.tar.gz  Source0:        http://github.com/downloads/petdance/tidyp/tidyp-%{version}.tar.gz
15  Patch0:         tidy-20081224cvs-fix-format-errors.patch  Patch0:         tidy-20081224cvs-fix-format-errors.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}  
16    
17  %description  %description
18  tidyp is a program that can validate your HTML, as well as modify it to be more  tidyp is a program that can validate your HTML, as well as modify it to be more
# Line 55  applications which will use %{name}. Line 54  applications which will use %{name}.
54  %__rm -rf %{buildroot}  %__rm -rf %{buildroot}
55  %makeinstall_std  %makeinstall_std
56    
57    # don't ship .a, .la
58    find %{buildroot} *.a | xargs rm -f
59    find %{buildroot} *.la | xargs rm -f
60    
61  %clean  %clean
62  %__rm -rf %{buildroot}  %__rm -rf %{buildroot}
63    
 %if %mdkversion < 200900  
 %post -n %{libname} -p /sbin/ldconfig  
 %endif  
   
 %if %mdkversion < 200900  
 %postun -n %{libname} -p /sbin/ldconfig  
 %endif  
   
64  %files  %files
65  %defattr(-,root,root)  %defattr(-,root,root)
66  %doc README ChangeLog  %doc README ChangeLog
# Line 78  applications which will use %{name}. Line 73  applications which will use %{name}.
73  %files -n %{develname}  %files -n %{develname}
74  %defattr(-,root,root)  %defattr(-,root,root)
75  %{_includedir}/*  %{_includedir}/*
 %{_libdir}/*.la  
 %{_libdir}/*.a  
76  %{_libdir}/*.so  %{_libdir}/*.so
   
   
   

Legend:
Removed from v.31657  
changed lines
  Added in v.31658

  ViewVC Help
Powered by ViewVC 1.1.30