fix rpm packaging

This commit is contained in:
Oswald Buddenhagen 2012-08-26 15:02:38 +02:00
parent 6d49c343fc
commit c43fc90dcf
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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@-@VERSION@.tar.gz
URL: http://@PACKAGE@.sf.net/
@ -19,7 +19,7 @@ non-permanent internet collection (dIMAP).
%prep
%setup
%build
./configure --prefix=/usr
%configure
%install
rm -rf $RPM_BUILD_ROOT