1 |
nanardon |
96335 |
%define name dact |
2 |
|
|
%define version 0.8.41 |
3 |
|
|
%define release %mkrel 1 |
4 |
|
|
|
5 |
|
|
%define _disable_ld_no_undefined 1 |
6 |
|
|
|
7 |
|
|
Summary: Dinamically choose best algorithm to compress a file |
8 |
|
|
Name: %{name} |
9 |
|
|
Version: %{version} |
10 |
|
|
Release: %{release} |
11 |
|
|
Source0: http://www.rkeene.org/files/oss/dact/%{name}-%{version}.tar.bz2 |
12 |
|
|
License: LGPL |
13 |
|
|
Group: Archiving/Compression |
14 |
|
|
Url: http://www.rkeene.org/oss/dact/ |
15 |
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot |
16 |
|
|
BuildRequires: liblzo-devel |
17 |
|
|
BuildRequires: libbzip2-devel |
18 |
|
|
BuildRequires: libmcrypt-devel |
19 |
|
|
|
20 |
|
|
%description |
21 |
|
|
DACT is a compression tool designed to compress a file dynamically, |
22 |
|
|
choosing the algorithm that works best per block of input data to |
23 |
|
|
produce an overall smaller output file. |
24 |
|
|
|
25 |
|
|
%prep |
26 |
|
|
%setup -q |
27 |
|
|
|
28 |
|
|
%build |
29 |
|
|
%configure |
30 |
|
|
%make |
31 |
|
|
|
32 |
|
|
%install |
33 |
|
|
rm -rf $RPM_BUILD_ROOT |
34 |
|
|
|
35 |
|
|
mkdir -p %buildroot%_bindir |
36 |
|
|
mkdir -p %buildroot%_sysconfdir |
37 |
|
|
mkdir -p %buildroot%_mandir/man1 |
38 |
|
|
|
39 |
|
|
%makeinstall |
40 |
|
|
|
41 |
|
|
%clean |
42 |
|
|
rm -rf $RPM_BUILD_ROOT |
43 |
|
|
|
44 |
|
|
%files |
45 |
|
|
%defattr(-,root,root) |
46 |
|
|
%doc MD5SUMS README TODO.ideas TODO VERSION ChangeLog AUTHORS |
47 |
|
|
%doc Docs/config_help.txt Docs/dact.txt Docs/helpfile.txt |
48 |
|
|
%config(noreplace) %_sysconfdir/%name.conf |
49 |
|
|
%_bindir/%name |
50 |
|
|
%dir %_datadir/%name |
51 |
|
|
%_libdir/lib%name.* |
52 |
|
|
%_mandir/man1/%name.* |
53 |
|
|
|