Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-X
perl-X11-XCB
perl-X11-XCB.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-X11-XCB.spec of Package perl-X11-XCB
# # spec file for package perl-X11-XCB # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define cpan_name X11-XCB Name: perl-X11-XCB Version: 0.22 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Perl bindings for libXcb URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/Z/ZH/ZHMYLOVE/%{cpan_name}-%{version}.tar.gz BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::Dump) BuildRequires: perl(Devel::PPPort) >= 3.19 BuildRequires: perl(ExtUtils::Depends) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 BuildRequires: perl(ExtUtils::ParseXS) >= 3.18 BuildRequires: perl(ExtUtils::PkgConfig) BuildRequires: perl(Mouse) BuildRequires: perl(MouseX::NativeTraits) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Exception) BuildRequires: perl(Try::Tiny) BuildRequires: perl(XML::Descent) BuildRequires: perl(XML::Simple) BuildRequires: perl(XS::Object::Magic) Requires: perl(Data::Dump) Requires: perl(Mouse) Requires: perl(MouseX::NativeTraits) Requires: perl(Try::Tiny) Requires: perl(XML::Descent) Requires: perl(XML::Simple) %{perl_requires} %description These bindings wrap libxcb (a C library to speak with X11, in many cases better than Xlib in many aspects) and provide a nice object oriented interface to its methods (using Mouse). Please note that its aim is *NOT* to provide yet another toolkit for creating graphical applications. It is a low-level method of communicating with X11. Use cases include testcases for all kinds of X11 applications, implementing really simple applications which do not require an graphical toolkit (such as GTK, QT, etc.) or command-line utilities which communicate with X11. *WARNING*: X11::XCB is in a rather early stage and thus API breaks may happen in future versions. It is not yet widely used. %prep %autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README.md XCB_util.inc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor