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 8 |
7 |
Source0: http://www.rkeene.org/files/oss/dact/%{name}-%{version}.tar.gz |
8 |
License: LGPL |
9 |
Group: Archiving/Compression |
10 |
Url: http://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 |
# fix build on aarch64 |
24 |
cp -af %{_rpmconfigdir}/config.{guess,sub} . |
25 |
|
26 |
%build |
27 |
%configure2_5x |
28 |
%make_build |
29 |
|
30 |
%install |
31 |
mkdir -p %buildroot%_bindir |
32 |
mkdir -p %buildroot%_sysconfdir |
33 |
mkdir -p %buildroot%_mandir/man1 |
34 |
|
35 |
%makeinstall |
36 |
|
37 |
%files |
38 |
%doc MD5SUMS README TODO.ideas TODO VERSION ChangeLog AUTHORS |
39 |
%doc Docs/config_help.txt Docs/dact.txt Docs/helpfile.txt |
40 |
%config(noreplace) %_sysconfdir/%name.conf |
41 |
%_bindir/%name |
42 |
%dir %_datadir/%name |
43 |
%_libdir/lib%name.* |
44 |
%_mandir/man1/%name.* |
45 |
|