From 3425a97448adf2bbcbe753948dad3e7bc49ea180 Mon Sep 17 00:00:00 2001 From: Zsolt Udvari Date: Mon, 31 May 2010 09:20:52 +0000 Subject: [PATCH] - change static BRs to devel (--enable-link-dynamic in ./configure) - bar-keygen patch - add -j1 to make install - needs more work Changed files: bar-backup-archiver.spec -> 1.3 --- bar-backup-archiver.spec | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/bar-backup-archiver.spec b/bar-backup-archiver.spec index 5c86e94..a53284d 100644 --- a/bar-backup-archiver.spec +++ b/bar-backup-archiver.spec @@ -1,3 +1,7 @@ +# TODO +# - unpackaged files +# - create gui subpackage +# %define shortname bar %define altver b Summary: BAR is backup archiver program @@ -10,18 +14,20 @@ Group: Applications/Archiving Source0: http://www.kigen.de/projects/bar/bar-%{version}%{altver}.tar.bz2 # Source0-md5: d2b10480a0c23a7fcd08c2f66c560b17 Patch0: long_long_max.patch +Patch1: bar-keygen.patch URL: http://www.kigen.de/projects/bar/index.html -BuildRequires: bzip2-static -BuildRequires: ftplib-static -BuildRequires: gnutls-static -BuildRequires: java-sun -BuildRequires: libgcrypt-static -BuildRequires: libgpg-error-static -BuildRequires: libssh2-static -BuildRequires: libtasn1-static +BuildRequires: bzip2-devel +BuildRequires: ftplib-devel +BuildRequires: gnutls-devel +BuildRequires: java-sun-jre +BuildRequires: java-sun-tools +BuildRequires: libgcrypt-devel +BuildRequires: libgpg-error-devel +BuildRequires: libssh2-devel +BuildRequires: libtasn1-devel BuildRequires: txt2man -BuildRequires: xz-static -BuildRequires: zlib-static +BuildRequires: xz-devel +BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -31,19 +37,20 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %prep %setup -q -n %{shortname}-%{version}%{altver} %patch0 -p1 +%patch1 -p1 %build %{__libtoolize} %{__aclocal} %{__autoheader} %{__autoconf} -%configure -%{__make} +%configure --enable-link-dynamic +%{__make} -j1 %install rm -rf $RPM_BUILD_ROOT -%{__make} install \ +%{__make} -j1 install \ DESTDIR=$RPM_BUILD_ROOT %clean @@ -51,5 +58,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO +%doc ChangeLog %attr(755,root,root) %{_bindir}/* -- 2.44.0