source: projects/specs/branches/6/p/perl-X11-Protocol/perl-X11-Protocol-vl.spec @ 3699

Revision 3699, 3.8 KB checked in by kazutaka, 13 years ago (diff)

shutter の依存物を更新。

  • build with perl 5.12.3
  • add Vendor and Distribution tags
Line 
1Name:           perl-X11-Protocol
2Version:        0.56
3Release:        2%{?_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-%(%{__id_u} -n)
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* Fri Apr 01 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.56-2
77- build with perl 5.12.3
78- add Vendor and Distribution tags
79
80* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.56-1
81- initial build for Vine Linux based on fedora development
82
83* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.56-4
84- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
85
86* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.56-3
87- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
88
89* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.56-2
90Rebuild for new perl
91
92* Tue Sep 18 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.56-1
93- New upstream release (bugfix)
94- Added BR for perl(ExtUtils::MakeMaker)
95- License clarification
96- Minor spec cleanup, mainly to suppress rpmlint warnings
97
98* Fri Sep 15 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-5
99- FC-6 rebuild requests
100
101* Tue Jun 20 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-4
102- Update due to bug 195879
103
104* Sun Apr 02 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-3
105- Change tests for X environment
106
107* Sat Apr 01 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-2
108- Specfile bugfile
109
110* Fri Mar 31 2006 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.55-1
111- Update to new version of X11::Protocol
112
113* Fri Aug 26 2005 Paul Howarth <paul@city-fan.org> 0.54-2
114- remove redundant BR: perl
115- remove compiler optimization flags, redundant for noarch package
116- require "rpmbuild --with X" to run tests requiring X
117- include examples as %%doc
118- include license text
119
120* Thu Aug 18 2005 Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk> 0.54-1
121- Initial build
Note: See TracBrowser for help on using the repository browser.