8
0
Files
perl-X11-Protocol/perl-X11-Protocol.spec

65 lines
2.2 KiB
RPMSpec
Raw Normal View History

# Copyright (c) 2011 Sascha Manns <saigkill@opensuse.org>
#
# All modifications and additions to the file contributed by third
# parties remain the property of their copyright owners, unless otherwise
# agreed upon. The license for this file, and modifications and additions to
# the file, is the same license as for the pristine package itself (unless
# the license for the pristine package is not an Open Source License, in
# which case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org
Name: perl-X11-Protocol
Version: 0.56
Release: 1
License: other
Summary: Perl module for X11
Group: Development/Libraries/Perl
Source: X11-Protocol-%{version}.tar.gz
Requires: libgtkimageview0
Requires: perl = %{perl_version}
Requires: perl-Gtk2
Url: http://search.cpan.org/dist/X11-Protocol/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Copyright (C) 1997-2006 Stephen McCamant. All rights reserved. This
module is free software; you can redistribute and/or modify it under
the same terms as Perl itself. (As an exception, the file Keysyms.pm,
which is derived from a file in the standard X11 distribution, has
another, less restrictive copying policy, as do some of the extension
modules in the directory Protocol/Ext: see those files for details).
Module list information:123456789 123456789 123456789 123456789 12345
X11::Protocol bdpO Raw interface to X Window System servers
X11::Keysyms bdpf X11 key symbols (translation of keysymdef.h)
X11::Auth bdpO Read and handle X11 '.Xauthority' files
%prep
%setup -q -n X11-Protocol-%{version}
%build
perl Makefile.PL
make
%install
make DESTDIR=%{buildroot} install_vendor
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root)
%dir %{perl_vendorlib}/X11
%dir %{perl_vendorlib}/X11/Protocol
%dir %{perl_vendorlib}/X11/Protocol/Connection
%dir %{perl_vendorlib}/X11/Protocol/Ext
%dir %{perl_vendorarch}/auto/X11
%dir %{perl_vendorarch}/auto/X11/Protocol
%changelog