]> git.pld-linux.org Git - packages/dbmail.git/commitdiff
- added mailbox2dbmail subpackage
authorradek <radek@pld-linux.org>
Fri, 4 Jun 2004 10:38:23 +0000 (10:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dbmail.spec -> 1.4

dbmail.spec

index b9579337e94963f93c3fe5397aa21ff78f9bc44f..b90492d25182aa2928ace01e4a2ef95260d4dafd 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Collection of programs for storing and retrieving mail from a SQL datab
 Name:          dbmail
 Version:       2.0
 %define _rc    rc5
 Name:          dbmail
 Version:       2.0
 %define _rc    rc5
-Release:       0.%{_rc}.1
+Release:       0.%{_rc}.2
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       http://dbmail.org/tgz/%{name}-%{version}%{_rc}.tgz
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       http://dbmail.org/tgz/%{name}-%{version}%{_rc}.tgz
@@ -41,6 +41,21 @@ Well, for me it's usefull because a number of reasons.
 # %description -l pl
 # TODO
 
 # %description -l pl
 # TODO
 
+%package mailbox2dbmail
+Summary:       Copy mail from an mbox file, maildir or mhdir directory to dbmail
+#Summary(pl):  
+# FIXME: better group
+Group:         Applications/Mail
+Requires:      python-modules >= 2.2
+
+%description mailbox2dbmail
+Use this program to copy mail from an mbox file, maildir or mhdir
+directory to dbmail.  This program uses ./dbmail-smtp for injecting
+the emails into DBMail.
+
+# %description mailbox2dbmail -l pl
+# TODO
+
 %prep
 %setup -q -n %{name}-%{version}%{_rc}
 
 %prep
 %setup -q -n %{name}-%{version}%{_rc}
 
@@ -65,6 +80,8 @@ rm -rf $RPM_BUILD_ROOT
 install -D dbmail.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbmail/dbmail.conf
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 cp man/*   $RPM_BUILD_ROOT%{_mandir}/man1
 install -D dbmail.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbmail/dbmail.conf
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 cp man/*   $RPM_BUILD_ROOT%{_mandir}/man1
+install contrib/mailbox2dbmail/mailbox2dbmail   $RPM_BUILD_ROOT%{_bindir}
+install contrib/mailbox2dbmail/mailbox2dbmail.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -84,4 +101,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/*.a
 %dir %{_sysconfdir}/dbmail
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dbmail/*
 %{_libdir}/*.a
 %dir %{_sysconfdir}/dbmail
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dbmail/*
-%{_mandir}/man1/*
+%{_mandir}/man1/dbmail-*
+
+%files mailbox2dbmail
+%defattr(644,root,root,755)
+%doc contrib/mailbox2dbmail/README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/mailbox2dbmail*
This page took 0.070098 seconds and 4 git commands to generate.