]> git.pld-linux.org Git - packages/perl-File-MMagic.git/commitdiff
- Init PLD spec, STBR perl-File-MMagic-1_13-1
authorareq <areq@pld-linux.org>
Sat, 5 Jan 2002 23:11:34 +0000 (23:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-File-MMagic.spec -> 1.1

perl-File-MMagic.spec [new file with mode: 0644]

diff --git a/perl-File-MMagic.spec b/perl-File-MMagic.spec
new file mode 100644 (file)
index 0000000..f576a78
--- /dev/null
@@ -0,0 +1,45 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       File-MMagic perl module
+Summary(pl):   Modu³ perla File-MMagic
+Name:          perl-File-MMagic
+Version:       1.13
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/File/File-MMagic-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl-devel >= 5.6.1
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is to guess file type from its contents like file(1)
+command.
+
+%description -l pl
+Modul ten rozpoznaje typ pliku na podstawie jego kontekstu podobnie
+jak komenda file.
+
+%prep
+%setup -q -n File-MMagic-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf README.en ChangeLog
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%{perl_sitelib}/File/*
This page took 0.067028 seconds and 4 git commands to generate.