SPECS: perl-Gtk2-SourceView.spec (NEW) - new

grzegol grzegol at pld-linux.org
Sat Aug 26 20:53:26 CEST 2006


Author: grzegol                      Date: Sat Aug 26 18:53:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Gtk2-SourceView.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Gtk2-SourceView.spec
diff -u /dev/null SPECS/perl-Gtk2-SourceView.spec:1.1
--- /dev/null	Sat Aug 26 20:53:26 2006
+++ SPECS/perl-Gtk2-SourceView.spec	Sat Aug 26 20:53:21 2006
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests	# perform "make test" (requires X server)
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Gtk2
+%define		pnam	SourceView
+Summary:	Perl gtksourceview bindings
+Summary(pl):	Wiązania gtksourceview dla Perla
+Name:		perl-Gtk2-SourceView
+Version:	1.000
+Release:	1
+License:	LGPL
+Group:		Development/Languages/Perl
+Source0:	http://dl.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	35f859153d9c8a41260f98ad969fcb78
+URL:		http://gtk2-perl.sourceforge.net/
+BuildRequires:	gtksourceview-devel >= 1.7.2
+BuildRequires:	perl-ExtUtils-Depends >= 0.205
+BuildRequires:	perl-ExtUtils-PkgConfig >= 1.07
+BuildRequires:	perl-Glib >= 1.132
+BuildRequires:	perl-Gnome2-Print >= 0.951
+BuildRequires:	perl-Gtk2 >= 1.133
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+Requires:	perl-Glib >= 1.132
+Requires:	perl-Gnome2-Print >= 0.951
+Requires:	perl-Gtk2 >= 1.133
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides Perl access to gtksourceview library.
+
+%description -l pl
+Ten moduł daje dostęp z poziomu Perla do biblioteki gtksourceview.
+
+%prep
+%setup -q -n %{pdir}-%{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
+
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/%{pdir}/%{pnam}/*.pod
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README ChangeLog
+%{perl_vendorarch}/%{pdir}/%{pnam}.pm
+%dir %{perl_vendorarch}/%{pdir}/%{pnam}
+%dir %{perl_vendorarch}/auto/%{pdir}/%{pnam}
+%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/%{pnam}/*.so
+%{perl_vendorarch}/%{pdir}/%{pnam}/Install
+%{perl_vendorarch}/auto/%{pdir}/%{pnam}/*.bs
+%{_mandir}/man3/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/08/26 18:53:21  grzegol
+- new
+
================================================================


More information about the pld-cvs-commit mailing list