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