[perl-X11-Protocol-Other] Initial import

cheeselee cheeselee at fedoraproject.org
Mon Aug 20 13:20:50 UTC 2012


commit 70e4f865f7b14406a08f0231c74ca4fe523b1c4a
Author: Robin Lee <cheeselee at fedoraproject.org>
Date:   Mon Aug 20 21:18:59 2012 +0800

    Initial import

 .gitignore                   |    1 +
 perl-X11-Protocol-Other.spec |   46 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9c5552a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+X11-Protocol-Other-18.tar.gz
diff --git a/perl-X11-Protocol-Other.spec b/perl-X11-Protocol-Other.spec
new file mode 100644
index 0000000..303c769
--- /dev/null
+++ b/perl-X11-Protocol-Other.spec
@@ -0,0 +1,46 @@
+Name:           perl-X11-Protocol-Other
+Version:        18
+Release:        1%{?dist}
+Summary:        Miscellaneous X11::Protocol helpers
+License:        GPLv3+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/X11-Protocol-Other/
+Source0:        http://www.cpan.org/modules/by-module/X11/X11-Protocol-Other-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl >= 0:5.004
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(X11::Protocol)
+BuildRequires:  perl(Encode::HanExtra)
+Requires:       perl(X11::Protocol)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+These are some helper functions for X11::Protocol.
+
+%prep
+%setup -q -n X11-Protocol-Other-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$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 {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes COPYING
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Aug 11 2012 Robin Lee <cheeselee at fedoraproject.org> 18-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..d3532c7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cbbe7338df08642d6bf01f3c66f65d27  X11-Protocol-Other-18.tar.gz



More information about the perl-devel mailing list