rpms/imapsync/devel imapsync.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Marek Mahut (mmahut) fedora-extras-commits at redhat.com
Thu Apr 10 18:36:40 UTC 2008


Author: mmahut

Update of /cvs/pkgs/rpms/imapsync/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25748/devel

Modified Files:
	.cvsignore sources 
Added Files:
	imapsync.spec 
Log Message:
Initial import



--- NEW FILE imapsync.spec ---
Name: imapsync
Summary: Tool to migrate email between IMAP servers
Version: 1.249
Release: 1%{?dist}
License: GPLv2
Group: Applications/Internet

URL: http://freshmeat.net/projects/imapsync/
Source: http://www.linux-france.org/prj/imapsync/dist/%{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch: noarch
BuildRequires: perl(Test::Simple)
BuildRequires: perl(Mail::Box)
BuildRequires: perl(Mail::IMAPClient)
BuildRequires: perl(Date::Manip)

%description
imapsync is a tool for facilitating incremental recursive IMAP
transfers from one mailbox to another. It is useful for mailbox migration,
and reduces the amount of data transferred by only copying messages that
are not present on both servers. Read, unread, and deleted flags are preserved,
and the process can be stopped and resumed. The original messages can
optionally be deleted after a successful transfer.

%prep
%setup -q

cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
  sed -e '/perl(--prefix2)/d'
EOF

%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
chmod +x %{__perl_requires}

%build

%install
rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR="$RPM_BUILD_ROOT"
iconv -f iso-8859-1 -t utf-8 -o ChangeLog.utf8 ChangeLog && %{__mv} ChangeLog.utf8 ChangeLog
iconv -f iso-8859-1 -t utf-8 -o TODO.utf8 TODO && %{__mv} TODO.utf8 TODO

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc GPL ChangeLog CREDITS INSTALL TODO README FAQ
%{_bindir}/imapsync
%attr(644, root, root) %{_mandir}/man1/imapsync.1*

%ChangeLog
* Thu Apr 10 2008 Marek Mahut <mmahut at fedoraproject.org> - 1.249-1
- Initial build.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/imapsync/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Apr 2008 17:50:56 -0000	1.1
+++ .cvsignore	10 Apr 2008 18:35:45 -0000	1.2
@@ -0,0 +1 @@
+imapsync-1.249.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/imapsync/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Apr 2008 17:50:56 -0000	1.1
+++ sources	10 Apr 2008 18:35:45 -0000	1.2
@@ -0,0 +1 @@
+5e0e4a65f2217101df6b90df3bc4d358  imapsync-1.249.tgz




More information about the scm-commits mailing list