diff --git a/.cvsignore b/.cvsignore index e69de29..79df446 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +mime-construct-1.10.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..6278efb --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-mime-construct-1_10-2_fc13:HEAD:perl-mime-construct-1.10-2.fc13.src.rpm:1277288746 diff --git a/perl-mime-construct.spec b/perl-mime-construct.spec new file mode 100644 index 0000000..c3cb566 --- /dev/null +++ b/perl-mime-construct.spec @@ -0,0 +1,62 @@ +Name: perl-mime-construct +Version: 1.10 +Release: 2%{?dist} +Summary: Construct/send MIME messages from the command line + +Group: Development/Libraries +License: GPLv2+ +URL: http://www.argon.org/~roderick/ +Source0: http://www.argon.org/~roderick/mime-construct-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +mime-construct constructs and (by default) mails MIME messages. +It is entirely driven from the command line, it is designed to be used +by other programs, or people who act like programs. + + +%prep +%setup -q -n mime-construct-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' +%{_fixperms} $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README debian/changelog debian/copyright +%{_bindir}/* +%{_mandir}/man?/* + + +%changelog +* Tue Jun 22 2010 Matthias Runge 1.10-2 +* SPEC-file fixes (URL, include changelog) + +* Tue Jun 8 2010 Matthias Runge 1.10-1 +- initial version diff --git a/sources b/sources index e69de29..f049bfc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a8060188ed35dccd5c5aac85f5b6a094 mime-construct-1.10.tar.gz