1 |
%define _disable_ld_no_undefined 1 |
2 |
|
3 |
Summary: Dynamically choose best algorithm to compress a file |
4 |
Name: dact |
5 |
Version: 0.8.42 |
6 |
Release: %mkrel 13 |
7 |
Source0: https://www.rkeene.org/files/oss/dact/release/%{name}-%{version}.tar.gz |
8 |
License: LGPL |
9 |
Group: Archiving/Compression |
10 |
Url: https://www.rkeene.org/oss/dact/ |
11 |
BuildRequires: liblzo-devel |
12 |
BuildRequires: libbzip2-devel |
13 |
BuildRequires: libmcrypt-devel |
14 |
|
15 |
%description |
16 |
DACT is a compression tool designed to compress a file dynamically, |
17 |
choosing the algorithm that works best per block of input data to |
18 |
produce an overall smaller output file. |
19 |
|
20 |
%prep |
21 |
%setup -q |
22 |
|
23 |
%build |
24 |
export CFLAGS="%{optflags} -std=gnu17" |
25 |
%configure |
26 |
%make_build |
27 |
|
28 |
%install |
29 |
mkdir -p %buildroot%_bindir |
30 |
mkdir -p %buildroot%_sysconfdir |
31 |
mkdir -p %buildroot%_mandir/man1 |
32 |
|
33 |
%makeinstall |
34 |
|
35 |
%files |
36 |
%doc MD5SUMS README TODO.ideas TODO VERSION ChangeLog AUTHORS |
37 |
%doc Docs/config_help.txt Docs/dact.txt Docs/helpfile.txt |
38 |
%config(noreplace) %_sysconfdir/%name.conf |
39 |
%_bindir/%name |
40 |
%dir %_datadir/%name |
41 |
%_libdir/lib%name.* |
42 |
%_mandir/man1/%name.* |
43 |
|