rpms/perl-ccom/F-7 perl-ccom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Robert Scheck (robert)
fedora-extras-commits at redhat.com
Sun Feb 3 20:37:48 UTC 2008
- Previous message (by thread): rpms/perl-ccom/EL-5 perl-ccom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-ccom/F-8 perl-ccom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: robert
Update of /cvs/pkgs/rpms/perl-ccom/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32149/F-7
Modified Files:
.cvsignore sources
Added Files:
perl-ccom.spec
Log Message:
Initial import of perl-ccom
--- NEW FILE perl-ccom.spec ---
Summary: Perl module for context-sensitive phonetic string replacement
Name: perl-ccom
Version: 1.4.1
Release: 1%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://www.heise.de/ct/ftp/99/25/252/
Source: ftp://ftp.heise.de/pub/ct/listings/phonet.tgz
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
A perl module for context-sensitive phonetic string replacement to modify
strings according to predefined replacement rules in such a way that words
with the same pronunciation (e.g. "tail" and "tale") are converted to the
same string. This can, for example, be used to implement error-tolerant
search routines in address databases. It contains phonetic rules for German
only, but the software has been prepared for multi-language support.
%prep
%setup -q -c -n %{name}
# Clean the strange packaging first
mv -f ccom*/* .
chmod 644 *.xs ccomlib/*
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
# Change man page encoding into UTF-8
iconv -f latin1 -t utf-8 -o blib/man3/ccom.3pm.new blib/man3/ccom.3pm
mv -f blib/man3/ccom.3pm.new blib/man3/ccom.3pm
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
chmod -R u+w $RPM_BUILD_ROOT/*
# Fix incorrect permissions
chmod 644 Changes readme_perl.txt ccom_test.pl
# Fix incorrect end-of-line encoding
sed -e 's/\r//' -i copying.lib -i readme_perl.txt
# Fix incorrect interpreter path
sed -e 's@#! /opt/perl5/bin/perl@#!%{_bindir}/perl@' -i ccom_test.pl
# Remove test/example from regulars
rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/ccom_test.pl
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Changes copying.lib readme_perl.txt ccom_test.pl
%{_mandir}/man3/*.3pm*
%{perl_vendorarch}/*.pm
%{perl_vendorarch}/auto/ccom
%{perl_vendorarch}/*.pm
%changelog
* Thu Jan 31 2008 Robert Scheck <robert at fedoraproject.org> 1.4.1-1
- Upgrade to 1.4.1
- Initial spec file for Fedora and Red Hat Enterprise Linux
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-ccom/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 3 Feb 2008 20:20:39 -0000 1.1
+++ .cvsignore 3 Feb 2008 20:37:13 -0000 1.2
@@ -0,0 +1 @@
+phonet.tgz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-ccom/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 3 Feb 2008 20:20:39 -0000 1.1
+++ sources 3 Feb 2008 20:37:13 -0000 1.2
@@ -0,0 +1 @@
+ecf8c2b1945f2f471dc4ea0b4de8d274 phonet.tgz
- Previous message (by thread): rpms/perl-ccom/EL-5 perl-ccom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-ccom/F-8 perl-ccom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list