added support for building RPMS
This commit is contained in:
parent
1b25e3b739
commit
37c2379bde
|
@ -2,9 +2,15 @@ bin_PROGRAMS=isync
|
||||||
isync_SOURCES=main.c imap.c sync.c maildir.c isync.h list.c
|
isync_SOURCES=main.c imap.c sync.c maildir.c isync.h list.c
|
||||||
man_MANS=isync.1
|
man_MANS=isync.1
|
||||||
EXTRA_DIST=sample.isyncrc $(man_MANS)
|
EXTRA_DIST=sample.isyncrc $(man_MANS)
|
||||||
|
CPPFLAGS=$(RPM_OPT_FLAGS)
|
||||||
|
|
||||||
log:
|
log:
|
||||||
rcs2log -h sigipe.org | sed 's;/home/cvs/isync/;;g' > ChangeLog
|
rcs2log -h sigipe.org | sed 's;/home/cvs/isync/;;g' > ChangeLog
|
||||||
|
|
||||||
isync.html: isync.1
|
isync.html: isync.1
|
||||||
groff -Thtml -man isync.1 > isync.html
|
groff -Thtml -man isync.1 > isync.html
|
||||||
|
|
||||||
|
rpm:
|
||||||
|
make dist
|
||||||
|
cp isync-$(VERSION).tar.gz /usr/src/RPM/SOURCES
|
||||||
|
rpm -ba --target=i586 --clean isync.spec
|
||||||
|
|
33
isync.spec.in
Normal file
33
isync.spec.in
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
Summary: Utility to synchronize IMAP mailboxes with local maildir folders
|
||||||
|
Name: isync
|
||||||
|
Version: 0.3
|
||||||
|
Release: 1
|
||||||
|
Copyright: GPL
|
||||||
|
Group: Applications/Internet
|
||||||
|
Source: http://www.sigpipe.org/isync/isync-0.3.tar.gz
|
||||||
|
URL: http://www.sigpipe.org/isync/
|
||||||
|
Packager: Michael Elkins <me@mutt.org>
|
||||||
|
BuildRoot: /var/tmp/%{name}-buildroot
|
||||||
|
|
||||||
|
%description
|
||||||
|
isync is a command line utility for synchronizing a remote IMAP mailbox with a
|
||||||
|
local maildir-style mailbox. This is useful for working in disconnected mode,
|
||||||
|
such as on a laptop. Modifications made locally and remotely are synchronized
|
||||||
|
so that no message status flags are lost.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
%build
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc COPYING README TODO ChangeLog
|
||||||
|
/usr/bin/isync
|
||||||
|
/usr/man/man1/isync.1.bz2
|
Loading…
Reference in New Issue
Block a user