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