]>
Commit | Line | Data |
---|---|---|
5deaa437 | 1 | %define shortname bar |
de7f87dc | 2 | %define altver b |
5deaa437 ZU |
3 | Summary: BAR is backup archiver program |
4 | Summary(hu.UTF-8): BAR egy backup archiváló program | |
5 | Name: bar-backup-archiver | |
6 | Version: 0.13 | |
7 | Release: 0.1%{altver} | |
8 | License: GPL v2 | |
9 | Group: Applications/Archiving | |
10 | Source0: http://www.kigen.de/projects/bar/bar-%{version}%{altver}.tar.bz2 | |
11 | # Source0-md5: d2b10480a0c23a7fcd08c2f66c560b17 | |
12 | Patch0: long_long_max.patch | |
13 | URL: http://www.kigen.de/projects/bar/index.html | |
de7f87dc ZU |
14 | BuildRequires: bzip2-static |
15 | BuildRequires: ftplib-static | |
16 | BuildRequires: gnutls-static | |
17 | BuildRequires: java-sun | |
18 | BuildRequires: libgcrypt-static | |
19 | BuildRequires: libgpg-error-static | |
20 | BuildRequires: libssh2-static | |
21 | BuildRequires: libtasn1-static | |
5deaa437 | 22 | BuildRequires: txt2man |
de7f87dc ZU |
23 | BuildRequires: xz-static |
24 | BuildRequires: zlib-static | |
5deaa437 ZU |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | ||
31 | %prep | |
32 | %setup -q -n %{shortname}-%{version}%{altver} | |
33 | %patch0 -p1 | |
34 | ||
35 | %build | |
de7f87dc ZU |
36 | %{__libtoolize} |
37 | %{__aclocal} | |
5deaa437 ZU |
38 | %{__autoheader} |
39 | %{__autoconf} | |
40 | %configure | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO | |
55 | %attr(755,root,root) %{_bindir}/* |