]> git.pld-linux.org Git - packages/perl-Glib.git/commitdiff
- initial release
authorfreetz <freetz@pld-linux.org>
Fri, 25 Jul 2003 15:52:41 +0000 (15:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Glib.spec -> 1.1

perl-Glib.spec [new file with mode: 0644]

diff --git a/perl-Glib.spec b/perl-Glib.spec
new file mode 100644 (file)
index 0000000..f7977cf
--- /dev/null
@@ -0,0 +1,56 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+# TODO:
+# - check BRs
+# - intl descs
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pnam    Glib
+Summary:       Perl Glib bindings
+Name:          perl-Glib
+Version:       0.90
+Release:       0.1
+License:       GPL
+Group:         Development/Languages/Perl
+Source0:       http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
+# Source0-md5: ed1e22aee24b62f71755ca8423ca044e
+URL:           http://gtk2-perl.sf.net/
+BuildRequires: glib2-devel
+BuildRequires: perl-devel >= 5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides perl access to Glib and GLib's GObject libraries.
+
+%prep
+%setup -q -n %{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README* 
+%{perl_vendorarch}/*.pm
+%dir %{perl_vendorarch}/Glib
+%{perl_vendorarch}/Glib
+%{perl_vendorarch}/auto/Glib/*
+%{_mandir}/man3/*
This page took 0.101708 seconds and 4 git commands to generate.