From 7def4cde27c56b46d32f56956d57d862cdd1d7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Thu, 1 Jan 2015 16:08:25 +0100 Subject: [PATCH] RPM packaging: update libtqt-perl --- .../libtqt-perl/libtqt-perl-14.0.0.spec | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec index 3939d16aa..f14474f9a 100644 --- a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec +++ b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec @@ -33,7 +33,7 @@ Epoch: %{tde_epoch} Version: 3.008 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Summary: Perl bindings for the TQt library -Group: Environment/Libraries +Group: Development/Libraries/Perl URL: http://www.trinitydesktop.org/ %if 0%{?suse_version} @@ -61,8 +61,7 @@ BuildRequires: trinity-libsmoketqt-devel >= %{tde_version} BuildRequires: perl(ExtUtils::MakeMaker) -Provides: perl(TQtShell) -Provides: perl(TQtShellControl) +Requires: perl-TQt = %{?epoch:%{epoch}:}%{version}-%{release} %description @@ -75,6 +74,22 @@ It provides an object-oriented interface and is easy to use. %{tde_mandir}/man1/puic.1* %{_bindir}/pqtapi %{_bindir}/pqtsh + +########## + +%package -n perl-TQt +Summary: Perl bindings for the TQt library +Group: Development/Libraries/Perl + +Provides: perl(TQtShell) +Provides: perl(TQtShellControl) + +%description -n perl-TQt +This module lets you use the TQt library from Perl. +It provides an object-oriented interface and is easy to use. + +%files -n perl-TQt +%defattr(-,root,root,-) %{perl_vendorarch}/TQt.pm %{perl_vendorarch}/TQt.pod %dir %{perl_vendorarch}/TQt @@ -140,6 +155,7 @@ export PATH="%{tde_bindir}:${PATH}" # Unwanted files %__rm -f %{buildroot}%{perl_archlib}/perllocal.pod +%__rm -f %{buildroot}%{perl_vendorarch}/auto/TQt/.packlist %clean