rpms/perl-File-LibMagic/devel perl-File-LibMagic.spec, NONE, 1.1 tests-0.85.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Joshua Kayse (joshkayse)
fedora-extras-commits at redhat.com
Fri Apr 18 16:49:09 UTC 2008
- Previous message (by thread): rpms/ffcall/devel ffcall.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/coreutils/devel coreutils-6.10-md5sha1sum.patch, 1.1, 1.2 coreutils.spec, 1.207, 1.208
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: joshkayse
Update of /cvs/extras/rpms/perl-File-LibMagic/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24366/devel
Modified Files:
.cvsignore sources
Added Files:
perl-File-LibMagic.spec tests-0.85.patch
Log Message:
Initial import/setup of perl-File-LibMagic
--- NEW FILE perl-File-LibMagic.spec ---
%define module File-LibMagic
%define name perl-%{module}
%define version 0.85
Name: %{name}
Version: %{version}
Release: 3%{?dist}
Summary: Perlwrapper for libmagic
License: GPL+ or Artistic
Group: Development/Libraries
Source: http://search.cpan.org/CPAN/authors/id/F/FI/FITZNER/%{module}-%{version}.tgz
Patch0: tests-0.85.patch
Url: http://www.cpan.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: file-devel
Buildrequires: perl-devel
BuildRequires: perl-Test-Base
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
The File::LibMagic is a simple perlinterface to libmagic from the
file-4.x package
%prep
%setup -q -n %{module}-%{version}
%patch0 -p0 -b .tests
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name LibMagic.bs -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README
%{perl_vendorarch}/File/*
%{perl_vendorarch}/auto/File/*
%{_mandir}/man3/*
%changelog
* Sat Mar 01 2008 Josh Kayse <josh.kayse at gtri.gatech.edu> 0.85-3
- add perl Require
- specify specific directories in %files
* Fri Feb 29 2008 Josh Kayse <josh.kayse at gtri.gatech.edu> 0.85-2
- added patch to fix test cases
* Thu Feb 28 2008 Josh Kayse <josh.kayse at gtri.gatech.edu> 0.85-1
- update to 0.85
* Mon Oct 10 2005 Nicolas Lécureuil <neoclust at mandriva.org> 0.82-5mdk
- Fix previous mistake
* Fri Sep 30 2005 Nicolas Lécureuil <neoclust at mandriva.org> 0.82-4mdk
- buildrequires fix
* Thu Sep 29 2005 Nicolas Lécureuil <neoclust at mandriva.org> 0.82-3mdk
- fix url
- fix buildrequires
* Sun Jun 19 2005 Olivier Thauvin <nanardon at mandriva.org> 0.82-2mdk
- patch0: add search ldflags
- BuildRequires libmagic-devel
* Wed Jun 15 2005 Olivier Thauvin <nanardon at mandriva.org> 0.82-1mdk
- First mandriva spec
tests-0.85.patch:
--- NEW FILE tests-0.85.patch ---
diff -uNrp t.orig/6-oo.t t/6-oo.t
--- t.orig/6-oo.t 2008-02-29 08:29:30.000000000 -0500
+++ t/6-oo.t 2008-02-29 08:30:19.000000000 -0500
@@ -6,12 +6,12 @@ use File::LibMagic;
my %standard = (
- 'foo.foo' => [ 'ASCII text', 'text/plain; charset=us-ascii' ],
- 'foo.c' => [ 'ASCII C program text', 'text/x-c; charset=us-ascii' ],
+ 'foo.foo' => [ 'ASCII text', 'text/plain charset=us-ascii' ],
+ 'foo.c' => [ 'ASCII C program text', 'text/x-c charset=us-ascii' ],
);
my %custom = (
'foo.foo' => [ 'A foo file', 'text/x-foo' ],
- 'foo.c' => [ 'ASCII C program text', 'text/x-c; charset=us-ascii' ],
+ 'foo.c' => [ 'ASCII C program text', 'text/x-c charset=us-ascii' ],
);
plan tests => 4 + 4*(keys %standard) + 4*(keys %custom);
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-File-LibMagic/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 10 Apr 2008 02:49:10 -0000 1.1
+++ .cvsignore 18 Apr 2008 16:48:32 -0000 1.2
@@ -0,0 +1 @@
+File-LibMagic-0.85.tgz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-File-LibMagic/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Apr 2008 02:49:10 -0000 1.1
+++ sources 18 Apr 2008 16:48:32 -0000 1.2
@@ -0,0 +1 @@
+037150b3131a566b518a7042f9a8d527 File-LibMagic-0.85.tgz
- Previous message (by thread): rpms/ffcall/devel ffcall.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/coreutils/devel coreutils-6.10-md5sha1sum.patch, 1.1, 1.2 coreutils.spec, 1.207, 1.208
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list