123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- Name: perl-X11-Protocol
- Version: 0.56
- Release: 2%{?_dist_release}
- Summary: X11-Protocol - Raw interface to X Window System servers
- Group: Development/Libraries
- License: GPL+ or Artistic
- URL: http://search.cpan.org/dist/X11-Protocol/
- Source0: http://search.cpan.org/CPAN/authors/id/S/SM/SMCCAM/X11-Protocol-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- BuildArch: noarch
- BuildRequires: perl(ExtUtils::MakeMaker)
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- X11::Protocol is a client-side interface to the X11 Protocol (see X(1) for
- information about X11), allowing perl programs to display windows and
- graphics on X11 servers.
- A full description of the protocol is beyond the scope of this documentation;
- for complete information, see the I<X Window System Protocol, X Version 11>,
- available as Postscript or *roff source from C<ftp://ftp.x.org>, or
- I<Volume 0: X Protocol Reference Manual> of O'Reilly & Associates's series of
- books about X (ISBN 1-56592-083-X, C<http://www.oreilly.com>), which contains
- most of the same information.
- %prep
- %setup -q -n X11-Protocol-%{version}
- # Testing requires X - use "rpmbuild --with X"
- %if 0%{!?_with_X:1}
- %{__perl} -pi -e 'print "print \"Remaining tests require X\n\"; exit 0;"
- if /Insert your test code below/;' test.pl
- %endif
- perldoc -t perlartistic > Artistic
- perldoc -t perlgpl > COPYING
- # Remove shebangs from module code
- find . -name '*.pm' -exec sed -i -e '/^#!\/usr\/bin\/perl$/d' {} ';'
- %build
- %{__perl} Makefile.PL INSTALLDIRS=vendor
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf $RPM_BUILD_ROOT
- %{__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 d -depth -exec rmdir {} 2>/dev/null ';'
- %{__chmod} -R u+w $RPM_BUILD_ROOT/*
- %check
- %{__make} test
- %clean
- %{__rm} -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %doc README Changes Todo eg COPYING Artistic
- %{perl_vendorlib}/X11/
- %{_mandir}/man3/*.3*
- %changelog
- * Fri Apr 01 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.56-2
- - build with perl 5.12.3
- - add Vendor and Distribution tags
- * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.56-1
- - initial build for Vine Linux based on fedora development
- * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.56-4
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.56-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.56-2
- Rebuild for new perl
- * Tue Sep 18 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.56-1
- - New upstream release (bugfix)
- - Added BR for perl(ExtUtils::MakeMaker)
- - License clarification
- - Minor spec cleanup, mainly to suppress rpmlint warnings
- * Fri Sep 15 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-5
- - FC-6 rebuild requests
- * Tue Jun 20 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-4
- - Update due to bug 195879
- * Sun Apr 02 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-3
- - Change tests for X environment
- * Sat Apr 01 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-2
- - Specfile bugfile
- * Fri Mar 31 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-1
- - Update to new version of X11::Protocol
- * Fri Aug 26 2005 Paul Howarth <paul@city-fan.org> 0.54-2
- - remove redundant BR: perl
- - remove compiler optimization flags, redundant for noarch package
- - require "rpmbuild --with X" to run tests requiring X
- - include examples as %%doc
- - include license text
- * Thu Aug 18 2005 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.54-1
- - Initial build
|