[521] | 1 | Name: perl-X11-Protocol |
---|
| 2 | Version: 0.56 |
---|
[9158] | 3 | Release: 3%{?_dist_release} |
---|
[521] | 4 | Summary: X11-Protocol - Raw interface to X Window System servers |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: GPL+ or Artistic |
---|
| 8 | URL: http://search.cpan.org/dist/X11-Protocol/ |
---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/S/SM/SMCCAM/X11-Protocol-%{version}.tar.gz |
---|
[9158] | 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[521] | 11 | |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 15 | |
---|
[3699] | 16 | Vendor: Project Vine |
---|
| 17 | Distribution: Vine Linux |
---|
| 18 | |
---|
[521] | 19 | %description |
---|
| 20 | X11::Protocol is a client-side interface to the X11 Protocol (see X(1) for |
---|
| 21 | information about X11), allowing perl programs to display windows and |
---|
| 22 | graphics on X11 servers. |
---|
| 23 | |
---|
| 24 | A full description of the protocol is beyond the scope of this documentation; |
---|
| 25 | for complete information, see the I<X Window System Protocol, X Version 11>, |
---|
| 26 | available as Postscript or *roff source from C<ftp://ftp.x.org>, or |
---|
| 27 | I<Volume 0: X Protocol Reference Manual> of O'Reilly & Associates's series of |
---|
| 28 | books about X (ISBN 1-56592-083-X, C<http://www.oreilly.com>), which contains |
---|
| 29 | most of the same information. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q -n X11-Protocol-%{version} |
---|
| 33 | |
---|
| 34 | # Testing requires X - use "rpmbuild --with X" |
---|
| 35 | %if 0%{!?_with_X:1} |
---|
| 36 | %{__perl} -pi -e 'print "print \"Remaining tests require X\n\"; exit 0;" |
---|
| 37 | if /Insert your test code below/;' test.pl |
---|
| 38 | %endif |
---|
| 39 | |
---|
| 40 | perldoc -t perlartistic > Artistic |
---|
| 41 | perldoc -t perlgpl > COPYING |
---|
| 42 | |
---|
| 43 | # Remove shebangs from module code |
---|
| 44 | find . -name '*.pm' -exec sed -i -e '/^#!\/usr\/bin\/perl$/d' {} ';' |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 49 | %{__make} %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 54 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 55 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 56 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 57 | %{__chmod} -R u+w $RPM_BUILD_ROOT/* |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %check |
---|
| 61 | %{__make} test |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %files |
---|
| 69 | %defattr(-,root,root,-) |
---|
| 70 | %doc README Changes Todo eg COPYING Artistic |
---|
| 71 | %{perl_vendorlib}/X11/ |
---|
| 72 | %{_mandir}/man3/*.3* |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %changelog |
---|
[9158] | 76 | * Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.56-3 |
---|
| 77 | - rebuilt with perl 5.16.3 |
---|
| 78 | |
---|
[3699] | 79 | * Fri Apr 01 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.56-2 |
---|
| 80 | - build with perl 5.12.3 |
---|
| 81 | - add Vendor and Distribution tags |
---|
| 82 | |
---|
[521] | 83 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.56-1 |
---|
| 84 | - initial build for Vine Linux based on fedora development |
---|
| 85 | |
---|
| 86 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.56-4 |
---|
| 87 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 88 | |
---|
| 89 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.56-3 |
---|
| 90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 91 | |
---|
| 92 | * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.56-2 |
---|
| 93 | Rebuild for new perl |
---|
| 94 | |
---|
| 95 | * Tue Sep 18 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.56-1 |
---|
| 96 | - New upstream release (bugfix) |
---|
| 97 | - Added BR for perl(ExtUtils::MakeMaker) |
---|
| 98 | - License clarification |
---|
| 99 | - Minor spec cleanup, mainly to suppress rpmlint warnings |
---|
| 100 | |
---|
| 101 | * Fri Sep 15 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-5 |
---|
| 102 | - FC-6 rebuild requests |
---|
| 103 | |
---|
| 104 | * Tue Jun 20 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-4 |
---|
| 105 | - Update due to bug 195879 |
---|
| 106 | |
---|
| 107 | * Sun Apr 02 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-3 |
---|
| 108 | - Change tests for X environment |
---|
| 109 | |
---|
| 110 | * Sat Apr 01 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-2 |
---|
| 111 | - Specfile bugfile |
---|
| 112 | |
---|
| 113 | * Fri Mar 31 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-1 |
---|
| 114 | - Update to new version of X11::Protocol |
---|
| 115 | |
---|
| 116 | * Fri Aug 26 2005 Paul Howarth <paul@city-fan.org> 0.54-2 |
---|
| 117 | - remove redundant BR: perl |
---|
| 118 | - remove compiler optimization flags, redundant for noarch package |
---|
| 119 | - require "rpmbuild --with X" to run tests requiring X |
---|
| 120 | - include examples as %%doc |
---|
| 121 | - include license text |
---|
| 122 | |
---|
| 123 | * Thu Aug 18 2005 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.54-1 |
---|
| 124 | - Initial build |
---|