]> git.pld-linux.org Git - packages/archivemail.git/commitdiff
- spec by Adam Gołębiowski <adamg@biomerieux.pl>
authorgrzegol <grzegol@pld-linux.org>
Wed, 12 Feb 2003 22:46:38 +0000 (22:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- adapterized

Changed files:
    archivemail.spec -> 1.1

archivemail.spec [new file with mode: 0644]

diff --git a/archivemail.spec b/archivemail.spec
new file mode 100644 (file)
index 0000000..32933ca
--- /dev/null
@@ -0,0 +1,71 @@
+%include  /usr/lib/rpm/macros.python
+Summary:       Archive and compress old email
+Summary(pl):   Archiwizuj i kompresuj star± pocztê
+Name:          archivemail
+Version:       0.6.1
+Release:       1
+License:       GPL
+Group:         Applications/Mail
+Source0:       http://prdownloads.sourceforge.net/archivemail/%{name}-%{version}.tar.gz
+URL:           http://archivemail.sourceforge.net/
+BuildRequires: python-devel >= 2.0
+BuildRequires:  rpm-pythonprov
+%pyrequires_eq  python
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+archivemail is a tool written in python(1) for archiving and
+compressing old email in mailboxes.
+
+It can move messages older than the specified number of days to a
+separate 'archive' mbox-format mailbox that is compressed with 'gzip'.
+
+For example, have you been subscribing to the 'linux-kernel' mailing
+list for the last 6 years and ended up with an 160-meg mailbox that
+'mutt' is taking a long time to load? 'archivemail' can move all
+messages that are older than 6 months to a separate compressed
+mailbox, and leave you with just the most recent messages.
+
+It supports IMAP, Maildir, MH and mbox-format mailboxes.
+
+%description -l pl
+archivemail jest napisanym w python(1) narzêdziem s³u¿±cym
+achiwizowaniu i kompresowaniu starej poczty.
+
+Mo¿e przenie¶æ wiadomo¶ci starsze ni¿ okre¶lona liczba dni do
+oddzielnej skrzynki w formacie mbox, która jest skompresowana przy
+u¿yciu 'gzip'.
+
+Przyk³adowo, od 6 lat by³e¶ zapisany na listê 'linux-kernel', i Twoja
+skrzynka zajmuje ju¿ ponad 160 MiB, której otwarcie zajmuje trochê
+czasu. 'archivemail' mo¿e przeni¶æ wszystkie wiadmo¶ci powiedzmy
+sprzed 6 miesiêcy do oddzielnej, skompresowanej skrzynki, zostawiaj±c
+tylko najnowsze wiadomo¶ci.
+
+'archivemail' wspiera skrzynki w formacie IMAP, Maildir, MH oraz mbox.
+
+%prep
+%setup -q
+
+%build
+# Nothing to be done here.
+./setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d ${RPM_BUILD_ROOT}%{_mandir}
+./setup.py install \
+       --prefix=%{_prefix} \
+       --root=${RPM_BUILD_ROOT}
+
+# This one is ugly.
+mv ${RPM_BUILD_ROOT}%{_prefix}/man/man1 ${RPM_BUILD_ROOT}%{_mandir}
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.081434 seconds and 4 git commands to generate.