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

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

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

revision 202759 by malo, Sat Jan 28 22:26:15 2012 UTC revision 202760 by malo, Sat Jan 28 23:04:10 2012 UTC
# Line 4  Line 4 
4    
5  Summary:        A set of programs for creating and manipulating AFF files  Summary:        A set of programs for creating and manipulating AFF files
6  Name:           afflib  Name:           afflib
7  Version:        3.5.5  Version:        3.6.6
8  Release:        %mkrel 2  Release:        %mkrel 1
9  Group:          System/Libraries  Group:          System/Libraries
10  License:        BSD  License:        BSD
11  URL:            http://www.afflib.org/  URL:            http://www.afflib.org/
12  Source0:        http://www.afflib.org/downloads/%{name}-%{version}.tar.gz  Source0:        http://www.afflib.org/downloads/%{name}-%{version}.tar.gz
13  Patch1:         afflib-3.4.1-pyver.patch  #Patch1:         afflib-3.4.1-pyver.patch
14  BuildRequires:  curl-devel  BuildRequires:  curl-devel
15  # GPLv2 FOSS incompatible with BSD with advertising  # GPLv2 FOSS incompatible with BSD with advertising
16  #BuildRequires: fuse-devel  #BuildRequires: fuse-devel
# Line 24  BuildRequires: python-devel Line 24  BuildRequires: python-devel
24  # GPLv2 FOSS incompatible with BSD with advertising  # GPLv2 FOSS incompatible with BSD with advertising
25  #BuildRequires: readline-devel  #BuildRequires: readline-devel
26  BuildRequires:  zlib-devel  BuildRequires:  zlib-devel
27  BuildRoot:      %{_tmppath}/%{name}-%{version}-root  
28    
29  %description  %description
30  AFFLIB is an open source library developed by Simson Garfinkel and Basis  AFFLIB is an open source library developed by Simson Garfinkel and Basis
# Line 63  This package contains the static afflib Line 63  This package contains the static afflib
63    
64  %prep  %prep
65  %setup -q  %setup -q
66  %patch1 -p1 -b .pyver  #patch1 -p1 -b .pyver
67    
68  #fix spurious permissions with lzma443  #fix spurious permissions with lzma443
69  find lzma443 -type f -exec chmod 0644 {} ';'  find lzma443 -type f -exec chmod 0644 {} ';'
# Line 96  sed -i -e 's! -shared ! -Wl,--as-needed\ Line 96  sed -i -e 's! -shared ! -Wl,--as-needed\
96  %make  %make
97    
98  %install  %install
 rm -rf %{buildroot}  
99    
100  %makeinstall_std  %makeinstall_std
101    
# Line 104  rm -rf %{buildroot} Line 103  rm -rf %{buildroot}
103  install -d %{buildroot}%{_includedir}/afflib  install -d %{buildroot}%{_includedir}/afflib
104  install -m0644 lib/*.h %{buildroot}%{_includedir}/afflib/  install -m0644 lib/*.h %{buildroot}%{_includedir}/afflib/
105    
 %if %mdkversion < 200900  
 %post -n %{libname} -p /sbin/ldconfig  
 %endif  
   
 %if %mdkversion < 200900  
 %postun -n %{libname} -p /sbin/ldconfig  
 %endif  
   
 %clean  
 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}  
106    
107  %files  %files
108  %defattr(-,root,root)  %{_bindir}/affcat
109  %{_bindir}/afcat  %{_bindir}/affcompare
110  %{_bindir}/afcompare  %{_bindir}/affconvert
111  %{_bindir}/afconvert  %{_bindir}/affcopy
112  %{_bindir}/afcopy  %{_bindir}/affcrypto
113  %{_bindir}/afcrypto  %{_bindir}/affdiskprint
 %{_bindir}/afdiskprint  
114  %{_bindir}/affix  %{_bindir}/affix
115  %{_bindir}/affuse  %{_bindir}/affuse
116  %{_bindir}/afinfo  %{_bindir}/affinfo
117  %{_bindir}/afrecover  %{_bindir}/affrecover
118  %{_bindir}/afsegment  %{_bindir}/affsegment
119  %{_bindir}/afsign  %{_bindir}/affsign
120  %{_bindir}/afstats  %{_bindir}/affstats
121  %{_bindir}/aftest  %{_bindir}/affverify
122  %{_bindir}/afverify  %{_bindir}/affxml
123  %{_bindir}/afxml  %{_mandir}/man1/*
 %{_bindir}/s3  
 %{_mandir}/man1/afcat.1*  
124  %{py_platsitedir}/pyaff.so  %{py_platsitedir}/pyaff.so
125    
126  %files -n %{libname}  %files -n %{libname}
 %defattr(-,root,root)  
127  %doc AUTHORS BUGLIST.txt COPYING ChangeLog NEWS README* doc/*  %doc AUTHORS BUGLIST.txt COPYING ChangeLog NEWS README* doc/*
128  %{_libdir}/*.so.%{major}*  %{_libdir}/*.so.%{major}*
129    
130  %files -n %{develname}  %files -n %{develname}
 %defattr(-,root,root)  
131  %dir %{_includedir}/afflib  %dir %{_includedir}/afflib
132  %{_includedir}/afflib/*.h  %{_includedir}/afflib/*.h
133  %{_libdir}/*.so  %{_libdir}/*.so

Legend:
Removed from v.202759  
changed lines
  Added in v.202760

  ViewVC Help
Powered by ViewVC 1.1.28