2007-01-16 00:30:43 +01:00
|
|
|
#
|
2011-08-06 19:24:54 +02:00
|
|
|
# spec file for package perl-Glib
|
2007-01-16 00:30:43 +01:00
|
|
|
#
|
2012-01-02 14:14:37 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:30:43 +01:00
|
|
|
#
|
2008-10-06 17:16:57 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:30:43 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Glib
|
2012-01-02 14:14:37 +01:00
|
|
|
Version: 1.242
|
|
|
|
Release: 0
|
2007-01-16 00:30:43 +01:00
|
|
|
Summary: Glib Perl module
|
2012-01-02 14:14:37 +01:00
|
|
|
License: LGPL-2.1+
|
2011-10-17 16:49:00 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2012-01-02 14:14:37 +01:00
|
|
|
Url: http://cpan.org/modules/by-module/Glib/
|
2011-08-04 10:15:14 +02:00
|
|
|
Source: Glib-%{version}.tar.gz
|
2011-10-17 16:49:00 +02:00
|
|
|
BuildRequires: perl-ExtUtils-Depends
|
|
|
|
BuildRequires: perl-ExtUtils-PkgConfig
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2007-01-16 00:30:43 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 15:06:36 +01:00
|
|
|
%{perl_requires}
|
2007-01-16 00:30:43 +01:00
|
|
|
|
|
|
|
%description
|
2011-10-17 16:49:00 +02:00
|
|
|
This module provides perl access to GLib and GLib's GObject libraries.
|
2007-01-16 00:30:43 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Glib-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-12 12:05:49 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-10-05 15:59:40 +02:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
2007-01-16 00:30:43 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
2011-10-17 16:49:00 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-16 00:30:43 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2010-01-18 16:13:35 +01:00
|
|
|
%doc ChangeLog.pre-git README AUTHORS LICENSE NEWS TODO
|
2007-01-16 00:30:43 +01:00
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorarch}/Glib
|
|
|
|
%{perl_vendorarch}/Glib.pm
|
|
|
|
%{perl_vendorarch}/auto/Glib
|
2007-11-22 21:19:38 +01:00
|
|
|
|
2007-02-26 13:21:57 +01:00
|
|
|
%changelog
|