]> git.pld-linux.org Git - packages/perl-Gnome2.git/commitdiff
- 0.32
authorfreetz <freetz@pld-linux.org>
Fri, 24 Oct 2003 21:48:39 +0000 (21:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- new style bcond
- build_fixes patch added

Changed files:
    perl-Gnome2.spec -> 1.5

perl-Gnome2.spec

index 56eaf2dd6c45a4e009537950eba6cffdc5086243..11f1c96497a7c939cff0c9f91049834b68aadc63 100644 (file)
@@ -1,18 +1,20 @@
 #
 # Conditional build:
-# _with_tests - perform "make test" (requires X server)
+%bcond_with tests      # perform "make test" (requires X server)
 #
 %include       /usr/lib/rpm/macros.perl
 %define        pnam    Gnome2
 Summary:       Perl interface to the 2.x series of the Gnome libraries
 Summary(pl):   Perlowy interfejs do bibliotek GNOME 2.x
 Name:          perl-%{pnam}
-Version:       0.30
+Version:       0.32
 Release:       0.1
 License:       GPL
 Group:         Development/Languages/Perl
-Source0:       http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{pnam}-%{version}.tar.gz
-# Source0-md5: 8bf851c4864076c3ef0d74c9e5050ba4
+Source0:       http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
+# Source0-md5: c284b22b53807ee628c5f2ce8fe273bd
+Patch0:                perl-%{pnam}-build_fix.patch
+URL:           http://gtk2-perl.sf.net/
 BuildRequires: gtk+2-devel
 BuildRequires: libgnomeui-devel >= 2.0.0
 BuildRequires: perl-Glib >= 0.95
@@ -20,6 +22,7 @@ BuildRequires:        perl-Gtk2 >= 0.95
 BuildRequires: perl-devel >= 5.8.0
 BuildRequires: pkgconfig
 BuildRequires: rpm-perlprov >= 4.1-13
+Requires:      perl-Gnome2-common
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,6 +35,7 @@ Modu
 
 %prep
 %setup -q -n %{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
@@ -40,7 +44,7 @@ Modu
 %{__make} \
        OPTIMIZE="%{rpmcflags}"
 
-%{?_with_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -55,7 +59,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS TODO README druid.pl
 %{perl_vendorarch}/%{pnam}.pm
-%dir %{perl_vendorarch}/auto/%{pnam}
 %attr(755,root,root) %{perl_vendorarch}/auto/%{pnam}/*.so
 %{perl_vendorarch}/auto/%{pnam}/*.bs
 %{_mandir}/man3/*
This page took 0.05637 seconds and 4 git commands to generate.