/[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 202760 by malo, Sat Jan 28 23:04:10 2012 UTC revision 202761 by malo, Sat Jan 28 23:12:13 2012 UTC
# Line 1  Line 1 
1  %define major 0  %define major 0
2  %define libname %mklibname afflib %{major}  %define libname %mklibname afflib %{major}
3  %define develname %mklibname -d afflib  %define develname %mklibname -d afflib
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.6.6  Version:        3.6.6
8  Release:        %mkrel 1  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  
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
17  BuildRequires:  libewf-devel  BuildRequires:   libewf-devel
18  BuildRequires:  lzma-devel  BuildRequires:   lzma-devel
19  BuildRequires:  libexpat-devel  BuildRequires:   libexpat-devel
20  BuildRequires:  libtermcap-devel  BuildRequires:   libtermcap-devel
21  BuildRequires:  ncurses-devel  BuildRequires:   ncurses-devel
22  BuildRequires:  openssl-devel  BuildRequires:   openssl-devel
23  BuildRequires:  python-devel  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    
28    
29  %description  %description
# Line 35  Source and Proprietary software. Line 35  Source and Proprietary software.
35  In addition to the library, AFFLIB also comes with the AFF Tools, a set of  In addition to the library, AFFLIB also comes with the AFF Tools, a set of
36  programs for creating and manipulating AFF files.  programs for creating and manipulating AFF files.
37    
38  %package -n     %{libname}  %package -n  %{libname}
39  Summary:        A shared library that implements the AFF standard  Summary:     A shared library that implements the AFF standard
40  Group:          System/Libraries  Group:       System/Libraries
41    
42  %description -n %{libname}  %description -n %{libname}
43  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 47  Source and Proprietary software. Line 47  Source and Proprietary software.
47    
48  This package contains a shared library that implements the AFF standard.  This package contains a shared library that implements the AFF standard.
49    
50  %package -n     %{develname}  %package -n  %{develname}
51  Summary:        Static library and header files for the afflib library  Summary:     Static library and header files for the afflib library
52  Group:          Development/C  Group:       Development/C
53  Provides:       %{name}-devel = %{version}  Provides:    %{name}-devel = %{version}
54  Requires:       %{libname} = %{version}  Requires:    %{libname} = %{version}
55    
56  %description -n %{develname}  %description -n %{develname}
57  AFFLIB is an open source library developed by Simson Garfinkel and Basis  AFFLIB is an open source library developed by Simson Garfinkel and Basis
58  Technology that implements the AFF standard. AFFLIB is distributed under  Technology that implements the AFF standard. AFFLIB is distributed under
59  4-clause Berkeley License and may be freely incorporated into both Open  4-clause Berkeley License and may be freely incorporated into both Open
# Line 76  chmod 0644 lib/base64.{h,cpp} Line 76  chmod 0644 lib/base64.{h,cpp}
76  export CFLAGS="%{optflags} -fPIC"  export CFLAGS="%{optflags} -fPIC"
77    
78  %configure2_5x \  %configure2_5x \
79          --disable-static \                 --disable-static \
80          --enable-shared \                 --enable-shared \
81          --enable-wide-character-type \                 --enable-wide-character-type \
82          --enable-libewf=yes \                 --enable-libewf=yes \
83          --enable-s3=yes \                 --enable-s3=yes \
84          --enable-fuse=no \                 --enable-fuse=no \
85          --enable-python=yes \                 --enable-python=yes \
86          --enable-qemu=no \                 --enable-qemu=no \
87          --with-curl=%{_prefix}                 --with-curl=%{_prefix}
88    
89  # Remove rpath from libtool  # Remove rpath from libtool
90  sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool  sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
# Line 134  install -m0644 lib/*.h %{buildroot}%{_in Line 134  install -m0644 lib/*.h %{buildroot}%{_in
134  %{_libdir}/*.la  %{_libdir}/*.la
135  %{py_platsitedir}/*.la  %{py_platsitedir}/*.la
136  %{_libdir}/pkgconfig/*.pc  %{_libdir}/pkgconfig/*.pc
   
   

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

  ViewVC Help
Powered by ViewVC 1.1.30