Commit 91fb62 - spec cleanup

1 file Authored and Committed by filiperosset 5 months ago
- spec cleanup

    
 1 @@ -1,12 +1,10 @@
 2   Name:»       »       BEDTools
 3   Version:»       2.27.0
 4 - Release:»       1%{?dist}
 5 + Release:»       2%{?dist}
 6   Summary:»       A flexible suite of utilities for comparing genomic features
 7 - 
 8   Group:»       »       Applications/Engineering
 9   License:»       GPLv2+
10 - URL:»       »       https://github.com/arq5x/bedtools
11 - 
12 + URL:»       »       https://github.com/arq5x/bedtools2
13   Source0:»       https://github.com/arq5x/bedtools2/releases/download/v%{version}/bedtools-%{version}.tar.gz
14   #Fix debuginfo canonicalization error
15   Patch0:»       »       BEDTools-double-parenthesis.patch
16 @@ -29,45 +27,40 @@
17   
18   %prep
19   %autosetup -n bedtools2 -p1
20 - 
21   # remove bundled curl library
22   rm -rf src/utils/curl
23   
24 + 
25   %build
26   # gzstream includes a local header file
27   make %{?_smp_mflags} CXXFLAGS="-I. %{optflags}" V=1
28 - 
29   cd docs
30   make clean html
31 - 
32   cd ..
33   
34   
35   %install
36 - rm -rf %{buildroot}
37 - 
38   mkdir -p %{buildroot}%{_bindir}
39   install -m 0755 bin/* %{buildroot}%{_bindir}
40 - 
41   mkdir -p %{buildroot}%{_datadir}/%{name}
42 - 
43   cp -a genomes/ %{buildroot}%{_datadir}/%{name}
44   cp -a data/ %{buildroot}%{_datadir}/%{name}
45   # fix permissions
46   find %{buildroot}%{_datadir}/%{name} -type f -exec chmod 0644 {} \;
47   
48   
49 - 
50   %files
51 - %defattr(-,root,root,-)
52 - %doc README.md RELEASE_HISTORY LICENSE docs/_build/html/
53 + %doc README.md RELEASE_HISTORY docs/_build/html/
54 + %license LICENSE
55   %dir %{_datadir}/%{name}
56   %{_bindir}/*
57 - 
58   %{_datadir}/%{name}/genomes
59   %{_datadir}/%{name}/data
60   
61   %changelog
62 + * Wed Apr 11 2018 Filipe Rosset <rosset.filipe@gmail.com> - 2.27.0-2
63 + - spec cleanup
64 + 
65   * Sat Mar 17 2018 Adam Huffman <bloch@verdurin.com> - 2.27.0-1
66   - Update to latest upstream release 2.27.0
67