[svn] r5840 - in trunk/rpms: . imapsync ldapvi
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Thu Sep 13 16:49:24 CEST 2007
Author: dag
Date: 2007-09-13 16:49:22 +0200 (Thu, 13 Sep 2007)
New Revision: 5840
Added:
trunk/rpms/imapsync/
trunk/rpms/imapsync/imapsync.spec
trunk/rpms/ldapvi/
trunk/rpms/ldapvi/ldapvi.spec
Log:
Updates
Added: trunk/rpms/imapsync/imapsync.spec
===================================================================
--- trunk/rpms/imapsync/imapsync.spec (rev 0)
+++ trunk/rpms/imapsync/imapsync.spec 2007-09-13 14:49:22 UTC (rev 5840)
@@ -0,0 +1,69 @@
+# $Id$
+# Authority: dag
+
+Summary: Tool to migrate across IMAP servers
+Name: imapsync
+Version: 1.223
+Release: 1
+License: GPL
+Group: Applications/Internet
+URL: http://www.linux-france.org/prj/imapsync/
+
+Source: http://www.linux-france.org/prj/imapsync/dist/imapsync-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl(Mail::IMAPClient)
+#Requires: perl(IO::Socket::SSL)
+#Requires: perl(Digest::HMAC)
+#Requires: perl(Digest::MD5::M4p)
+#Requires: perl(Mail::IMAPClient)
+#Requires: perl(Net::SSLeay)
+
+%define __perl_requires %{_builddir}/%{buildsubdir}/filter-requires-imapsync.sh
+
+%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
+
+%{__cat} <<'EOF' >filter-requires-imapsync.sh
+#!/bin/sh
+/usr/lib/rpm/perl.req $* | sed -e '/perl(--prefix2)/d'
+EOF
+%{__chmod} a+x filter-requires-imapsync.sh
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%files
+%defattr(-, root, root, 0755)
+%doc ChangeLog CREDITS FAQ GPL INSTALL README TODO
+%doc %{_mandir}/man?/*
+%{_bindir}/imapsync
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%changelog
+* Thu Sep 13 2007 Dag Wieers <dag at wieers.com> - 1.223-1
+- Updated to release 1.223.
+
+* Thu Aug 16 2007 Fabian Arrotin <fabian.arrotin at arrfab.net> - 1.219-1
+- Update to 1.219.
+- Cosmetic changes for Requires: specific to RHEL/CentOS.
+
+* Mon Mar 19 2007 Neil Brown <neilb at inf.ed.ac.uk>
+- Packaged up source tarball into the RPM. Had to add a fix
+ to stop the perl_requires script wrongly matching on "use --prefix"
+ in the docs as a genuine perl "use module;"
Property changes on: trunk/rpms/imapsync/imapsync.spec
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: trunk/rpms/ldapvi/ldapvi.spec
===================================================================
--- trunk/rpms/ldapvi/ldapvi.spec (rev 0)
+++ trunk/rpms/ldapvi/ldapvi.spec 2007-09-13 14:49:22 UTC (rev 5840)
@@ -0,0 +1,59 @@
+# $Id$
+# Authority: dag
+# Upstream: <ldapvi$lists,askja,de>
+
+Summary: Interactive LDAP client for Unix terminals
+Name: ldapvi
+Version: 1.7
+Release: 1
+License: GPL
+Group: Applications/Editors
+URL: http://www.lichteblau.com/ldapvi/
+
+Source: http://www.lichteblau.com/download/ldapvi-%{version}.tar.gz
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+Buildrequires: openldap-devel >= 2.2, ncurses-devel, readline-devel, pkgconfig, openssl-devel
+Requires: openldap-clients >= 2.2, ncurses, openssl
+
+%description
+ldapvi is an interactive LDAP client for Unix terminals. Using it, you
+can update LDAP entries with a text editor. Think of it as vipw for LDAP.
+
+%prep
+%setup
+
+### FIXME: Makefile does not use DESTDIR (Please fix upstream)
+%{__perl} -pi.orig -e '
+ s|\@prefix\@/share/doc|\$(DESTDIR)%{_docdir}|g;
+ s|\@mandir\@|\$(DESTDIR)%{_mandir}|g;
+ s|\@bindir\@|\$(DESTDIR)%{_bindir}|g;
+ ' GNUmakefile.in
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+%{__make} %{?_smp_mflags} -C manual
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+### Clean up buildroot
+%{__rm} -rf %{buildroot}%{_datadir}/doc/ldapvi/
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc COPYING NEWS manual/bg.png manual/manual.css manual/manual.html
+%doc %{_mandir}/man1/ldapvi.1*
+%{_bindir}/ldapvi
+
+%changelog
+* Thu Sep 13 2007 Dag Wieers <dag at wieers.com> - 1.7-2
+- Cosmetic changes.
+
+* Wed Jul 25 2007 Fabian Arrotin <fabian.arrotin at arrfab.net> - 1.7-1
+- Initial Release for el5.
Property changes on: trunk/rpms/ldapvi/ldapvi.spec
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the svn-commits
mailing list