Browse Source

fix rpm packaging

wip/maildir-uid-dupes-test
Oswald Buddenhagen 13 years ago
parent
commit
c43fc90dcf
  1. 9
      Makefile.am
  2. 4
      isync.spec.in

9
Makefile.am

@ -70,9 +70,10 @@ dist-hook:
dist-sign: dist dist-sign: dist
gpg -b -a $(PACKAGE)-$(VERSION).tar.gz gpg -b -a $(PACKAGE)-$(VERSION).tar.gz
rpm: rpm: dist
make dist CFLAGS="-O2 -mtune=core2" rpmbuild --clean -ta $(PACKAGE)-$(VERSION).tar.gz
cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/rpm/SOURCES
CFLAGS="-O2 -mcpu=i686" rpm -ba --clean isync.spec 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 doc_DATA = README TODO NEWS ChangeLog AUTHORS

4
isync.spec.in

@ -2,7 +2,7 @@ Summary: Utility to synchronize IMAP mailboxes with local maildir folders
Name: isync Name: isync
Version: @VERSION@ Version: @VERSION@
Release: 1 Release: 1
Copyright: GPL License: GPL
Group: Applications/Internet Group: Applications/Internet
Source: @PACKAGE@-@VERSION@.tar.gz Source: @PACKAGE@-@VERSION@.tar.gz
URL: http://@PACKAGE@.sf.net/ URL: http://@PACKAGE@.sf.net/
@ -19,7 +19,7 @@ non-permanent internet collection (dIMAP).
%prep %prep
%setup %setup
%build %build
./configure --prefix=/usr %configure
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT

Loading…
Cancel
Save