Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37769829
en ru br
ALT Linux repos
S:1.3294-alt1
5.0: 1.221-alt1
4.1: 1.132-alt1
4.0: 1.132-alt1
3.0: 1.082-alt1

Group :: Development/Perl
RPM: perl-Glib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define dist Glib
Name: perl-%dist
Version: 1.3294
Release: alt1

Summary: Perl module for the glib-2.x library
License: LGPL
Group: Development/Perl

URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/X/XA/XAOC/%{dist}-%{version}.tar.gz
Patch: perl-Glib-1.224-alt-glib_version.patch

# Automatically added by buildreq on Fri Oct 07 2011

BuildRequires: glib2-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-devel

%package devel
Summary: Perl module for the glib-2.x library (development files)
Group: Development/Perl
Requires: %name = %version-%release
Requires: glib2-devel

%description
This module provides perl access to Glib and GLib's GObject libraries.
GLib is a portability and utility library; GObject provides a generic
type system with inheritance and a powerful signal system.  Together
these libraries are used as the foundation for many of the libraries
that make up the Gnome environment, and are used in many unrelated
projects.

%description devel
This module provides perl access to Glib and GLib's GObject libraries.
GLib is a portability and utility library; GObject provides a generic
type system with inheritance and a powerful signal system.  Together
these libraries are used as the foundation for many of the libraries
that make up the Gnome environment, and are used in many unrelated
projects.

This package contains GLib development files and documentation
for developers (overview of internals and internal API reference).

%prep
%setup -q -n %{dist}-%{version}
%patch -p1

# disable build dependency on perl-podlators

sed -i- '/MAN3PODS/d' Makefile.PL

[ %version = 1.329 ] && rm t/g.t

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc AUTHORS README ChangeLog.pre-git copyright.pod
%perl_vendor_archlib/Glib.pm
%dir %perl_vendor_archlib/Glib
%dir %perl_vendor_archlib/Glib/Object
%perl_vendor_archlib/Glib/Object/Subclass.pm
%dir %perl_vendor_autolib/Glib
%perl_vendor_autolib/Glib/Glib.so

%files devel
%dir %perl_vendor_archlib/Glib
%perl_vendor_archlib/Glib/*.pm
%doc %perl_vendor_archlib/Glib/*.pod
%dir %perl_vendor_archlib/Glib/Install
%perl_vendor_archlib/Glib/Install/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin