[perl-Prima] Import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 393526a1db65309935b8c520de9cea843bb189cc
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Oct 1 12:57:54 2013 +0200

    Import

 .gitignore      |    1 +
 perl-Prima.spec |   91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 93 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c801b37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Prima-1.37.tar.gz
diff --git a/perl-Prima.spec b/perl-Prima.spec
new file mode 100644
index 0000000..92cfad0
--- /dev/null
+++ b/perl-Prima.spec
@@ -0,0 +1,91 @@
+Name:           perl-Prima
+Version:        1.37
+Release:        1%{?dist}
+Summary:        Perl graphic toolkit
+License:        BSD
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Prima/
+Source0:        http://www.cpan.org/authors/id/K/KA/KARASIK/Prima-%{version}.tar.gz
+BuildRequires:  fontconfig-devel
+BuildRequires:  freetype-devel
+BuildRequires:  giflib-devel
+BuildRequires:  gtk2-devel
+BuildRequires:  libjpeg-devel
+BuildRequires:  libpng-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  libX11-devel
+BuildRequires:  libXext-devel
+BuildRequires:  libXft-devel
+BuildRequires:  libXpm-devel
+BuildRequires:  libXrender-devel
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(Tie::Array)
+BuildRequires:  perl(Tie::RefHash)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# Virtual packages used to load more modules
+Provides:       perl(Prima::Buttons) = %{version}
+Provides:       perl(Prima::Classes) = %{version}
+Provides:       perl(Prima::Notebooks) = %{version}
+Provides:       perl(Prima::Outlines) = %{version}
+Provides:       perl(Prima::Sliders) = %{version}
+Provides:       perl(Prima::StdDlg) = %{version}
+
+%{?perl_default_filter}
+
+# Do not export private modules (not starting with "Prima")
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((am|apc|bi|bs|bt|ci|cl|cm|CodeEditor|cr|cs|CustomPodView|Divider|dmfp|dt|Editor|fdo|fds|fe|fp|fr|fra|frr|fs|fw|gm|gr|grow|gsci|gt|gui|ict|im|is|ItemsOutline|kb|km|le|lj|lp|mb|mbi|MenuOutline|MPropListViewer|mt|MyOutline|nt|PackPropListViewer|PropListViewer|rop|Round3D|sbmp|ss|sv|ta|tb|tka|tm|tno|tns|tw|wc|ws)\\)
+
+%description
+Prima is a general purpose extensible graphical user interface toolkit with
+a rich set of standard widgets and an emphasis on 2D image processing tasks.
+A Perl program using PRIMA looks and behaves identically on X, Win32.
+
+%prep
+%setup -q -n Prima-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" WITH_GTK2=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+# Remove hard-coded DESTDIR prefix, CPAN RT#88983
+sed -i -e 's,%{buildroot},,g' '%{buildroot}%{perl_vendorarch}/Prima/Config.pm'
+
+%check
+make test
+
+%files
+%doc Copying HISTORY README
+%{_bindir}/*
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/gencls.pod
+%{perl_vendorarch}/Prima*
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Sep 26 2013 Petr Pisar <ppisar@xxxxxxxxxx> 1.37-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..6485949 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+17ac6d4f5cdf8c1068676106791f72b1  Prima-1.37.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux