commit 06ebf085e4e5d38f8166c3f69b5c6d3da9806246
Author: Oswald Buddenhagen <[email protected]>
Date: Sun Aug 26 15:02:38 2012 +0200
fix rpm packaging
Makefile.am | 9 +++++----
isync.spec.in | 4 ++--
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 87e9fa9..87774d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,9 +70,10 @@ dist-hook:
dist-sign: dist
gpg -b -a $(PACKAGE)-$(VERSION).tar.gz
-rpm:
- make dist
- cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/rpm/SOURCES
- CFLAGS="-O2 -mcpu=i686" rpm -ba --clean isync.spec
+rpm: dist
+ CFLAGS="-O2 -mtune=core2" rpmbuild --clean -ta
$(PACKAGE)-$(VERSION).tar.gz
+
+rpm-ia32: dist
+ CFLAGS="-O2 -m32 -march=i686" rpmbuild --target i686-unknown-linux
--clean -ta $(PACKAGE)-$(VERSION).tar.gz
doc_DATA = README TODO NEWS ChangeLog AUTHORS
diff --git a/isync.spec.in b/isync.spec.in
index 80cf299..fa9fb00 100644
--- a/isync.spec.in
+++ b/isync.spec.in
@@ -2,7 +2,7 @@ Summary: Utility to synchronize IMAP mailboxes with local
maildir folders
Name: isync
Version: @VERSION@
Release: 1
-Copyright: GPL
+License: GPL
Group: Applications/Internet
Source: @PACKAGE@-@[email protected]
URL: http://@[email protected]/
@@ -19,7 +19,7 @@ non-permanent internet collection (dIMAP).
%prep
%setup
%build
-./configure --prefix=/usr
+%configure
%install
rm -rf $RPM_BUILD_ROOT
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel