Created
April 24, 2013 12:25
-
-
Save tkhn/5451748 to your computer and use it in GitHub Desktop.
SPEC file for perl-Sphinx-Search.spec to build on Fedora 18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %define upstream_name Sphinx-Search | |
| %define upstream_version 0.28 | |
| Name: perl-%{upstream_name} | |
| Version: 0.28 | |
| Release: 2 | |
| Summary: Sphinx search engine API Perl client | |
| License: GPL+ or Artistic | |
| Group: Development/Perl | |
| Url: http://search.cpan.org/dist/%{upstream_name} | |
| Source0: http://search.cpan.org/CPAN/authors/id/J/JJ/JJSCHUTZ/%{upstream_name}-%{upstream_version}.tar.gz | |
| #BuildRequires: perl-Test-Pod-Coverage | |
| #BuildRequires: perl-File-SearchPath | |
| #BuildRequires: perl-Path-Class | |
| #BuildRequires: sphinx | |
| BuildArch: noarch | |
| %description | |
| Sphinx search engine API Perl client for Sphinx 0.9.8-svn-r871 and later. | |
| %prep | |
| %setup -q -n %{upstream_name}-%{upstream_version} | |
| %build | |
| perl Makefile.PL INSTALLDIRS=vendor | |
| make %{?_smp_mflags} | |
| #%install | |
| make pure_install PERL_INSTALL_ROOT=%{buildroot} | |
| find %{buildroot} -type f -name .packlist -exec rm -f {} \; | |
| find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; | |
| %{_fixperms} %{buildroot}/* | |
| #%%check | |
| #make \ | |
| # SPHINX_SEARCHD="%{_sbindir}/sphinx-searchd" \ | |
| # SPHINX_INDEXER="%{_bindir}/sphinx-indexer" \ | |
| # SPHINX_PORT="20000" \ | |
| # test | |
| #%install | |
| #%makeinstall_std | |
| %files | |
| %doc Changes META.json META.yml README | |
| %{perl_vendorlib}/Sphinx/Search.pm | |
| %attr(0644,root,root) %{_mandir}/man3/Sphinx::Search.3pm* | |
| %changelog | |
| * Wed Apr 24 2013 | |
| - Modified to build on Fedora 18 | |
| * Sun Jan 13 2013 umeabot <umeabot> 0.280.0-2.mga3 | |
| + Revision: 372667 | |
| - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild | |
| * Mon Oct 01 2012 jquelin <jquelin> 0.280.0-1.mga3 | |
| + Revision: 301286 | |
| - update to 0.28 | |
| * Thu Jan 13 2011 jquelin <jquelin> 0.240.1-1.mga2 | |
| + Revision: 14588 | |
| - imported package perl-Sphinx-Search | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment