/[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 926943 by ovitters, Thu Sep 10 18:29:42 2015 UTC revision 926944 by daviddavid, Sun Jan 24 17:00:18 2016 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 afflib -d
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.7.4  Version:        3.7.7
8  Release:        %mkrel 4  Release:        %mkrel 1
9  Group:          System/Libraries  Group:          System/Libraries
10  License:        BSD  License:        BSD
11  URL:            http://www.afflib.org/  URL:            https://github.com/sshock/AFFLIBv3
12  Source0:        https://github.com/simsong/AFFLIBv3/archive/v%{version}.tar.gz  Source0:        https://github.com/sshock/AFFLIBv3/archive/v%{version}/%{name}-%{version}.tar.gz
13    
14  BuildRequires:   curl-devel  BuildRequires:  pkgconfig(libcurl)
15  # GPLv2 FOSS incompatible with BSD with advertising  # GPLv2 FOSS incompatible with BSD with advertising
16  #BuildRequires:  fuse-devel  #BuildRequires:  pkgconfig(fuse)
17  BuildRequires:   libewf-devel  BuildRequires:  pkgconfig(libewf)
18  BuildRequires:   lzma-devel  BuildRequires:  pkgconfig(liblzma)
19  BuildRequires:   libexpat-devel  BuildRequires:  pkgconfig(expat)
20  BuildRequires:   libtermcap-devel  BuildRequires:  pkgconfig(ncurses)
21  BuildRequires:   ncurses-devel  BuildRequires:  pkgconfig(openssl)
22  BuildRequires:   openssl-devel  BuildRequires:  pkgconfig(python2)
 BuildRequires:   python-devel  
23  # GPLv2 FOSS incompatible with BSD with advertising  # GPLv2 FOSS incompatible with BSD with advertising
24  #BuildRequires:  readline-devel  #BuildRequires:  readline-devel
25  BuildRequires:   zlib-devel  BuildRequires:  pkgconfig(zlib)
26    
27    
28  %description  %description
# Line 63  This package contains the static afflib Line 62  This package contains the static afflib
62    
63  %prep  %prep
64  %setup -q -n AFFLIBv3-%{version}  %setup -q -n AFFLIBv3-%{version}
 #patch1 -p1 -b .pyver  
65    
66  #fix spurious permissions with lzma443  #fix spurious permissions with lzma443
67  find lzma443 -type f -exec chmod 0644 {} ';'  find lzma443 -type f -exec chmod 0644 {} ';'
# Line 97  sed -i -e 's! -shared ! -Wl,--as-needed\ Line 95  sed -i -e 's! -shared ! -Wl,--as-needed\
95    
96  %install  %install
97    
98  %makeinstall_std  %make_install
99    
100  # install headers as well  # install headers as well
101  install -d %{buildroot}%{_includedir}/afflib  install -d %{buildroot}%{_includedir}/afflib
102  install -m0644 lib/*.h %{buildroot}%{_includedir}/afflib/  install -m0644 lib/*.h %{buildroot}%{_includedir}/afflib/
103    
104    # we don't want these
105    find %{buildroot} -name '*.la' -delete
106    
107  %files  %files
108  %{_bindir}/affcat  %{_bindir}/affcat
# Line 121  install -m0644 lib/*.h %{buildroot}%{_in Line 121  install -m0644 lib/*.h %{buildroot}%{_in
121  %{_bindir}/affverify  %{_bindir}/affverify
122  %{_bindir}/affxml  %{_bindir}/affxml
123  %{_mandir}/man1/*  %{_mandir}/man1/*
124  %{py_platsitedir}/pyaff.so  %{python2_sitearch}/pyaff.so
125    
126  %files -n %{libname}  %files -n %{libname}
127  %doc AUTHORS BUGLIST.txt COPYING ChangeLog NEWS README* doc/*  %doc AUTHORS BUGLIST.txt COPYING ChangeLog NEWS README* doc/*
# Line 131  install -m0644 lib/*.h %{buildroot}%{_in Line 131  install -m0644 lib/*.h %{buildroot}%{_in
131  %dir %{_includedir}/afflib  %dir %{_includedir}/afflib
132  %{_includedir}/afflib/*.h  %{_includedir}/afflib/*.h
133  %{_libdir}/*.so  %{_libdir}/*.so
 %{_libdir}/*.la  
 %{py_platsitedir}/*.la  
134  %{_libdir}/pkgconfig/*.pc  %{_libdir}/pkgconfig/*.pc

Legend:
Removed from v.926943  
changed lines
  Added in v.926944

  ViewVC Help
Powered by ViewVC 1.1.30