]> git.pld-linux.org Git - packages/perl-Gnome2.git/commitdiff
- initial
authorMarcin Krzyżanowski <marcin.krzyzanowski@hakore.com>
Thu, 4 Sep 2003 21:48:36 +0000 (21:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Gnome2.spec -> 1.1

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

diff --git a/perl-Gnome2.spec b/perl-Gnome2.spec
new file mode 100644 (file)
index 0000000..894f32c
--- /dev/null
@@ -0,0 +1,60 @@
+#
+# Conditional build:
+# _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
+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
+BuildRequires: gtk+2-devel
+BuildRequires: perl-devel >= 5.8.0
+BuildRequires: perl-ExtUtils-Depends
+BuildRequires: perl-Glib >= 0.95
+BuildRequires: perl-Gtk2 >= 0.95
+BuildRequires: libgnomeui-devel >= 2.0.0
+BuildRequires: pkgconfig
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Gnome2 module allows a perl developer to use the Gnome libraries.
+
+%description -l pl
+Modu³ Gnome2 pozwala programistom perlowym na u¿ywanie bibliotek
+¶rodowiska GNOME 2
+
+%prep
+%setup -q -n %{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?_with_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 TODO README druid.pl
+%{perl_vendorarch}/%{pnam}.pm
+%attr(755,root,root) %{perl_vendorarch}/auto/%{pnam}/*.so
+%{perl_vendorarch}/auto/%{pnam}/*.bs
+%{_mandir}/man3/*
This page took 0.095264 seconds and 4 git commands to generate.