rpms/perl-X11-Protocol/devel perl-X11-Protocol.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Duncan Ferguson (duncs) fedora-extras-commits at redhat.com
Sat Sep 10 10:29:53 UTC 2005


Author: duncs

Update of /cvs/extras/rpms/perl-X11-Protocol/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6001/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-X11-Protocol.spec 
Log Message:
auto-import perl-X11-Protocol-0.54-2 on branch devel from perl-X11-Protocol-0.54-2.src.rpm


--- NEW FILE perl-X11-Protocol.spec ---
Name:           perl-X11-Protocol
Version:        0.54
Release:        2%{?dist}
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-0.54.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
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<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"
%{!?_with_X:\
%{__perl} -pi -e 'print "print \"Remaining tests require X\n\"; exit 0;"
			if /Insert your test code below/;' test.pl \
}

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 Aug 26 2005 Paul Howarth <paul at 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 at yahoo.co.uk> 0.54-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-X11-Protocol/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Sep 2005 10:29:10 -0000	1.1
+++ .cvsignore	10 Sep 2005 10:29:51 -0000	1.2
@@ -0,0 +1 @@
+X11-Protocol-0.54.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-X11-Protocol/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Sep 2005 10:29:10 -0000	1.1
+++ sources	10 Sep 2005 10:29:51 -0000	1.2
@@ -0,0 +1 @@
+b2ad4dc41755f2b08f9cd2899636346c  X11-Protocol-0.54.tar.gz




More information about the fedora-extras-commits mailing list