Name: perl-X11-Protocol Version: 0.56 Release: 42%{?dist} Summary: X11-Protocol - Raw interface to X Window System servers License: GPL+ or Artistic URL: https://metacpan.org/release/X11-Protocol Source0: https://cpan.metacpan.org/authors/id/S/SM/SMCCAM/X11-Protocol-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-doc BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Pod::Perldoc) BuildRequires: sed # Run-time BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(FileHandle) BuildRequires: perl(IO::Socket) BuildRequires: perl(Socket) BuildRequires: perl(strict) BuildRequires: perl(Sys::Hostname) BuildRequires: perl(vars) %if 0%{?_with_X:1} # X11 tests: BuildRequires: xorg-x11-server-Xvfb BuildRequires: xorg-x11-xinit BuildRequires: font(:lang=en) %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %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, available as Postscript or *roff source from C, or I of O'Reilly & Associates's series of books about X (ISBN 1-56592-083-X, C), 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 /usr/bin/perldoc -t perlartistic > Artistic /usr/bin/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 NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check %if 0%{?_with_X:1} xvfb-run -a make test %else make test %endif #make test %files %license Artistic COPYING %doc README Changes Todo eg %{perl_vendorlib}/X11/ %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.56-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.56-41 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.56-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.56-39 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.56-38 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.56-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.56-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.56-35 - Perl 5.32 rebuild * Tue Mar 10 2020 Jitka Plesnikova - 0.56-34 - Add missing BR perl-doc * Thu Jan 30 2020 Fedora Release Engineering - 0.56-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.56-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.56-31 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.56-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.56-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.56-28 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.56-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.56-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.56-25 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.56-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.56-23 - Perl 5.24 rebuild * Mon Feb 29 2016 Jitka Plesnikova - 0.56-22 - Package cleanup * Thu Feb 04 2016 Fedora Release Engineering - 0.56-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.56-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.56-19 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.56-18 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.56-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.56-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 0.56-15 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.56-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.56-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.56-12 - Perl 5.16 rebuild * Tue Jan 17 2012 Ralf Corsépius - 0.56-11 - BR: and use /usr/bin/perldoc (Fix mass rebuild FTBFS). * Fri Jan 13 2012 Fedora Release Engineering - 0.56-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 0.56-9 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.56-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 23 2010 Marcela Maslanova - 0.56-7 - 661697 rebuild for fixing problems with vendorach/lib * Fri May 07 2010 Marcela Maslanova - 0.56-6 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.56-5 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.56-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.56-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway - 0.56-2 Rebuild for new perl * Tue Sep 18 2007 Patrick "Jima" Laughton 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 0.55-5 - FC-6 rebuild requests * Tue Jun 20 2006 Duncan Ferguson 0.55-4 - Update due to bug 195879 * Sun Apr 02 2006 Duncan Ferguson 0.55-3 - Change tests for X environment * Sat Apr 01 2006 Duncan Ferguson 0.55-2 - Specfile bugfile * Fri Mar 31 2006 Duncan Ferguson 0.55-1 - Update to new version of X11::Protocol * Fri Aug 26 2005 Paul Howarth 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 0.54-1 - Initial build