diff --git a/.gitignore b/.gitignore index 66b67cf..ced27ba 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ dar-2.3.8.tar.gz /dar-2.6.0.RC3.tar.gz /dar-2.6.0.rc3.tar.gz /dar-2.6.0.RC5.tar.gz +/dar-2.5.17.tar.gz diff --git a/dar.spec b/dar.spec index 8701424..41954cb 100644 --- a/dar.spec +++ b/dar.spec @@ -13,20 +13,19 @@ # Basic descriptive tags for this package: # Name: dar -Version: 2.6.0.RC5 +Version: 2.5.17 Release: 1%{?dist} Summary: Software for making/restoring incremental CD/DVD backups Group: Applications/Archiving License: GPLv2+ -URL: https://github.com/Edrusb/DAR +URL: http://dar.linux.free.fr ################################################################################ Source0: ftp://ftp.dm3c.org/dar.linux.free.fr/Pre-releases/%{name}-%{version}.tar.gz Source1: README.Fedora - ################################################################################ BuildRequires: gcc-c++ @@ -98,14 +97,7 @@ disks for easier file retrieval. ################################################################################ %prep -%setup -q -n %{name}-%{version} - -CXXFLAGS=-O -export CXXFLAGS -./configure --enable-mode=64 - -make -make install-strip +%autosetup -n %{name}-%{version} ################################################################################ @@ -117,7 +109,7 @@ make install-strip STATIC="--disable-dar-static --disable-static" %endif -%configure --disable-build-html $STATIC +%configure --disable-build-html $STATIC --enable-mode=64 # Remove Rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool @@ -128,16 +120,16 @@ make %{?_smp_mflags} ################################################################################ %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -#mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +mkdir -p %{buildroot}%{_libdir}/pkgconfig/ %find_lang %{name} # Remove the libtool archive files -rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la +rm -f %{buildroot}/%{_libdir}/*.la # Delete the sample files that we can't seem to disable -rm -rf $RPM_BUILD_ROOT/%{_datadir}/dar/ +rm -rf %{buildroot}/%{_datadir}/dar/ # Remove the doc makefiles so they don't get installed along with the other files. rm -f doc/Makefile* @@ -200,10 +192,7 @@ cp -a %{SOURCE1} . %endif %changelog -* Tue Sep 25 2018 Luis Bazan - 2.6.0.RC5-1 -- New upstream version - -* Mon Aug 27 2018 Luis Bazan - 2.6.0.RC3-1 +* Tue Oct 16 2018 Luis Bazan - 2.5.17-1 - New upstream version * Sat Jul 21 2018 Luis Bazan - 2.5.16-2 diff --git a/sources b/sources index a5b7906..c352b85 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dar-2.6.0.RC5.tar.gz) = 1fa1bc311054d780e04c19cc9e17debc8894a7417e3eff61e36250d3d121074a91f97f4f27bafea1c8e1191e395c79fbe4111798d845d2eaf4e1919781f15022 +SHA512 (dar-2.5.17.tar.gz) = f465669ed80ebd97a59835d64949f5c555c1174b128f037d9daf916ff1f770914627b46d72d350b937d571d2453a622f5b3bd7ea8e1992fa675d0d013df82410