From a8c053575eff526db21b26843076262aea34a1cc Mon Sep 17 00:00:00 2001 From: Dominik Mierzejewski Date: Feb 27 2014 12:03:47 +0000 Subject: minor fixes - fix build on aarch64 - drop obsolete specfile parts - fix bad date in changelog --- diff --git a/abook-autoconf269.patch b/abook-autoconf269.patch new file mode 100644 index 0000000..158ea2c --- /dev/null +++ b/abook-autoconf269.patch @@ -0,0 +1,14 @@ +diff -up abook-0.6.0pre2/configure.in.ac269 abook-0.6.0pre2/configure.in +--- abook-0.6.0pre2/configure.in.ac269 2006-09-05 09:55:35.000000000 +0200 ++++ abook-0.6.0pre2/configure.in 2014-02-27 12:33:06.611880272 +0100 +@@ -42,10 +42,6 @@ dnl ---------------------- + + AC_PROG_CC + AC_ISC_POSIX +-AM_C_PROTOTYPES +-if test "x$U" != "x"; then +- AC_MSG_ERROR(Compiler not ANSI compliant) +-fi + AC_C_INLINE + AC_PROG_INSTALL + AC_HEADER_STDC diff --git a/abook.spec b/abook.spec index 08b026d..e9236b1 100644 --- a/abook.spec +++ b/abook.spec @@ -1,18 +1,19 @@ Name: abook Version: 0.6.0 -Release: 0.11.pre2%{?dist} +Release: 0.12.pre2%{?dist} License: GPLv2+ URL: http://abook.sourceforge.net/ Summary: Text-based addressbook program for mutt -Group: Applications/Productivity #Source: http://dl.sourceforge.net/sourceforge/abook/%{name}-%{version}.tar.gz Source: http://abook.sourceforge.net/devel/abook-0.6.0pre2.tar.gz Patch0: %{name}-preserve.patch -BuildRequires: gettext +Patch1: %{name}-autoconf269.patch +BuildRequires: gettext-devel +BuildRequires: autoconf +BuildRequires: automake BuildRequires: ncurses-devel BuildRequires: readline-devel Requires: webclient -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Abook is a small and powerful text-based addressbook program @@ -21,20 +22,18 @@ designed for use with the mutt mail client. %prep %setup -q -n %{name}-%{version}pre2 %patch0 -p1 -b .p +%patch1 -p1 -b .ac269 +autoreconf -vif %build %configure %{__make} %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT %{__make} DESTDIR=$RPM_BUILD_ROOT install # generate localized files list %find_lang %{name} -%clean -rm -rf $RPM_BUILD_ROOT - %files -f %{name}.lang %defattr(0644,root,root,0755) %doc AUTHORS BUGS COPYING ChangeLog FAQ README RELEASE_NOTES THANKS TODO sample.abookrc @@ -43,6 +42,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man5/abookrc.* %changelog +* Thu Feb 27 2014 Dominik Mierzejewski 0.6.0-0.12.pre2 +- fix build on aarch64 +- drop obsolete specfile parts +- fix bad date in changelog + * Sat Aug 03 2013 Fedora Release Engineering - 0.6.0-0.11.pre2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -135,7 +139,7 @@ rm -rf $RPM_BUILD_ROOT - updated spec - updated to rpm-4.0.3 -* Thu Nov 7 2001 Aleksandr Blohin 0.4.15-alt1 +* Wed Nov 7 2001 Aleksandr Blohin 0.4.15-alt1 - 0.4.15 final - spec cleanup