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

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

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

revision 142874 by tv, Fri Jun 17 17:41:24 2011 UTC revision 142875 by fwang, Tue Sep 13 03:06:19 2011 UTC
# Line 1  Line 1 
1  %define name    acl  %define name    acl
2  %define version 2.2.51  %define version 2.2.51
3  %define release %mkrel 1  %define release %mkrel 2
4    
5  %define libname_orig    lib%{name}  %define libname_orig    lib%{name}
6  %define lib_major       1  %define lib_major       1
# Line 17  URL:           http://savannah.nongnu.org/project Line 17  URL:           http://savannah.nongnu.org/project
17  Source0:        http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.src.tar.gz  Source0:        http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.src.tar.gz
18  BuildRequires:  attr-devel  BuildRequires:  attr-devel
19  BuildRequires:  libtool  BuildRequires:  libtool
 BuildRoot:      %{_tmppath}/%{name}-%{version}  
20    
21  %description  %description
22  This package contains the getfacl and setfacl utilities needed for  This package contains the getfacl and setfacl utilities needed for
# Line 55  also want to install %{libname}. Line 54  also want to install %{libname}.
54  %setup -q  %setup -q
55    
56  %build  %build
57  %configure2_5x --libdir=/%{_lib} --sbindir=/bin  %configure2_5x --libdir=/%{_lib} --sbindir=/bin --disable-static
58  %make  %make
59    
60  %install  %install
# Line 64  make install DIST_ROOT=%{buildroot}/ Line 63  make install DIST_ROOT=%{buildroot}/
63  make install-dev DIST_ROOT=%{buildroot}/  make install-dev DIST_ROOT=%{buildroot}/
64  make install-lib DIST_ROOT=%{buildroot}/  make install-lib DIST_ROOT=%{buildroot}/
65    
66  perl -pi -e 's,\s(/%{_lib})(.*attr\.la),%{_libdir}/$2,g' %{buildroot}/%{_libdir}/%{_lib}acl.la  find %{buildroot}%{_libdir}/*.la
67    
68  rm -rf %{buildroot}%{_docdir}/acl  rm -rf %{buildroot}%{_docdir}/acl
69    
70  %find_lang %{name}  %find_lang %{name}
71    
72  %clean  %clean
# Line 82  rm -rf %{buildroot} Line 82  rm -rf %{buildroot}
82  %files -n %{libname}  %files -n %{libname}
83  %defattr(-,root,root)  %defattr(-,root,root)
84  %doc doc/COPYING  %doc doc/COPYING
85  /%{_lib}/*.so.*  /%{_lib}/*.so.%{lib_major}
86    /%{_lib}/*.so.%{lib_major}.*
87    
88  %files -n %{develname}  %files -n %{develname}
89  %defattr(-,root,root)  %defattr(-,root,root)
90  %doc doc/extensions.txt doc/COPYING doc/libacl.txt  %doc doc/extensions.txt doc/COPYING doc/libacl.txt
91  /%{_lib}/*.so  /%{_lib}/*.so
 /%{_lib}/*a  
92  %{_libdir}/*.so  %{_libdir}/*.so
 %{_libdir}/*a  
93  %{_mandir}/man3/*  %{_mandir}/man3/*
94  %dir %{_includedir}/acl  %dir %{_includedir}/acl
95  %{_includedir}/acl/libacl.h  %{_includedir}/acl/libacl.h
96  %{_includedir}/sys/acl.h  %{_includedir}/sys/acl.h
   
   

Legend:
Removed from v.142874  
changed lines
  Added in v.142875

  ViewVC Help
Powered by ViewVC 1.1.26