summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-01-01 16:08:25 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2015-01-01 16:08:25 +0100
commit7def4cde27c56b46d32f56956d57d862cdd1d7ce (patch)
tree94cab2da9111f7a7cd0072a2a3434f550c092e96 /redhat
parentc919724fbb1f188e73d2ca2616206b5c247b8daa (diff)
downloadtde-packaging-7def4cde27c56b46d32f56956d57d862cdd1d7ce.tar.gz
tde-packaging-7def4cde27c56b46d32f56956d57d862cdd1d7ce.zip
RPM packaging: update libtqt-perl
Diffstat (limited to 'redhat')
-rw-r--r--redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec22
1 files 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