source: projects/specs/trunk/p/perl-X11-Protocol/perl-X11-Protocol-vl.spec @ 9158

Revision 9158, 3.9 KB checked in by inagaki, 9 years ago (diff)

2014-12-16 Ryoichi INAGAKI <ryo1@…>

  • perl-DateTime?-TimeZone?, perl-LDAP: updated
  • perl-List-AllUtils?, perl-Test-Warnings: NEW
  • perl-Unicode-{Map, Map8, MapUTF8, String}: rebuilt
  • perl-X11-Protocol: rebuilt


Line 
1Name:           perl-X11-Protocol
2Version:        0.56
3Release:        3%{?_dist_release}
4Summary:        X11-Protocol - Raw interface to X Window System servers
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/X11-Protocol/
9Source0:        http://search.cpan.org/CPAN/authors/id/S/SM/SMCCAM/X11-Protocol-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11
12BuildArch:      noarch
13BuildRequires:  perl(ExtUtils::MakeMaker)
14Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16Vendor: Project Vine
17Distribution: Vine Linux
18
19%description
20X11::Protocol is a client-side interface to the X11 Protocol (see X(1) for
21information about X11), allowing perl programs to display windows and
22graphics on X11 servers.
23
24A full description of the protocol is beyond the scope of this documentation;
25for complete information, see the I<X Window System Protocol, X Version 11>,
26available as Postscript or *roff source from C<ftp://ftp.x.org>, or
27I<Volume 0: X Protocol Reference Manual> of O'Reilly & Associates's series of
28books about X (ISBN 1-56592-083-X, C<http://www.oreilly.com>), which contains
29most 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
40perldoc -t perlartistic > Artistic
41perldoc -t perlgpl > COPYING
42
43# Remove shebangs from module code
44find . -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
55find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
56find $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
76* Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.56-3
77- rebuilt with perl 5.16.3
78
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
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
93Rebuild 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
Note: See TracBrowser for help on using the repository browser.