Author: qboosh Date: Sat Jun 2 15:14:33 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-Gnome2-Dia.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Gnome2-Dia.spec diff -u /dev/null SPECS/perl-Gnome2-Dia.spec:1.1 --- /dev/null Sat Jun 2 17:14:33 2007 +++ SPECS/perl-Gnome2-Dia.spec Sat Jun 2 17:14:28 2007 @@ -0,0 +1,86 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_with tests # perform "make test" (requires X server) +# +%include /usr/lib/rpm/macros.perl +%define pdir Gnome2 +%define pnam Dia +Summary: Perl interface to DiaCanvas2 library +Summary(pl.UTF-8): Interfejs perlowy do biblioteki DiaCanvas2 +Name: perl-Gnome2-Dia +Version: 0.04 +Release: 1 +License: LGPL v2.1+ +Group: Development/Languages/Perl +Source0: http://dl.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: bdcbb75fc89762d7d7566cf80a4c3610 +URL: http://gtk2-perl.sourceforge.net/ +BuildRequires: diacanvas-devel >= 0.13.0 +BuildRequires: perl-ExtUtils-Depends >= 0.201 +BuildRequires: perl-ExtUtils-PkgConfig >= 1.03 +BuildRequires: perl-Glib >= 1.040 +BuildRequires: perl-Gnome2-Canvas >= 1.000 +BuildRequires: perl-Gnome2-Print >= 0.94 +BuildRequires: perl-Gtk2 >= 1.040 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.192 +Requires: diacanvas >= 0.13.0 +Requires: perl-Glib >= 1.144 +Requires: perl-Gnome2-Canvas >= 1.000 +Requires: perl-Gnome2-Print >= 0.94 +Requires: perl-Gtk2 >= 1.144 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module allows a Perl developer to use the DiaCanvas2 library to +create all kinds of spiffy diagramming tools. + +%description -l pl.UTF-8 +Ten moduł pozwala programistom perlowym używać biblioteki DiaCanvas2 +do tworzenia wszelkiego rodzaju narzędzi z diagramami. + +%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}/Gnome2/Dia/*.pod +rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/Dia/{Event,Export,Shape}/*.pod + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog NEWS README +%{perl_vendorarch}/Gnome2/Dia.pm +%dir %{perl_vendorarch}/Gnome2/Dia +%{perl_vendorarch}/Gnome2/Dia/Install +%dir %{perl_vendorarch}/auto/Gnome2/Dia +%{perl_vendorarch}/auto/Gnome2/Dia/Dia.bs +%attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/Dia/Dia.so +%{_mandir}/man3/Gnome2::Dia*.3pm* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/06/02 15:14:28 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
