[packages/perl-KDE4] verbose files; avoid packaging perl system dirs
glen
glen at pld-linux.org
Wed Sep 26 15:22:34 CEST 2018
commit af63990fe0ce9dfcd3c79a67dcbe04d4b3862503
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Wed Sep 26 16:21:58 2018 +0300
verbose files; avoid packaging perl system dirs
perl-KDE4.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 47 insertions(+), 8 deletions(-)
---
diff --git a/perl-KDE4.spec b/perl-KDE4.spec
index 6a4fa9c..b7ba869 100644
--- a/perl-KDE4.spec
+++ b/perl-KDE4.spec
@@ -1,4 +1,4 @@
-%define _state stable
+%define state stable
%define orgname perlkde
%define qtver 4.8.0
@@ -10,10 +10,10 @@ Summary: KDE4 - A Perl module interface to KDE4
Summary(pl.UTF-8): KDE4 - interfejs Perla do KDE4
Name: perl-KDE4
Version: 4.14.3
-Release: 8
+Release: 9
License: GPL
Group: Development/Languages/Perl
-Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
+Source0: http://download.kde.org/%{state}/%{version}/src/%{orgname}-%{version}.tar.xz
# Source0-md5: c94a719d680707dae5b35a9ebba1a9f0
URL: http://www.kde.org/
# BuildRequires: sonnet-devel
@@ -25,8 +25,8 @@ BuildRequires: kde4-okular-devel
BuildRequires: kde4-smokekde-devel >= %{version}
BuildRequires: perl-Qt4-devel >= %{version}
BuildRequires: soprano-devel
-BuildRequires: xz
BuildRequires: tar >= 1:1.22
+BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautoreq perl(.*_internal)
@@ -45,7 +45,7 @@ install -d build
cd build
%cmake \
-DCUSTOM_PERL_SITE_ARCH_DIR=%{perl_vendorarch} \
- ../
+ ..
%{__make}
%install
@@ -61,6 +61,45 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/kde4/kperlpluginfactory.so
%{perl_vendorarch}/*.pm
-%dir %{perl_vendorarch}/auto
-%dir %{perl_vendorarch}/auto/*
-%attr(755,root,root) %{perl_vendorarch}/auto/*/*.so
+%dir %{perl_vendorarch}/auto/Akonadi
+%dir %{perl_vendorarch}/auto/Attica
+%dir %{perl_vendorarch}/auto/KDECore4
+%dir %{perl_vendorarch}/auto/KDEUi4
+%dir %{perl_vendorarch}/auto/KFile
+%dir %{perl_vendorarch}/auto/KHTML
+%dir %{perl_vendorarch}/auto/KIO4
+%dir %{perl_vendorarch}/auto/KNewStuff2
+%dir %{perl_vendorarch}/auto/KNewStuff3
+%dir %{perl_vendorarch}/auto/KParts
+%dir %{perl_vendorarch}/auto/KTextEditor
+%dir %{perl_vendorarch}/auto/KUtils
+%dir %{perl_vendorarch}/auto/Kate
+%dir %{perl_vendorarch}/auto/Nepomuk
+%dir %{perl_vendorarch}/auto/NepomukQuery
+%dir %{perl_vendorarch}/auto/Okular
+%dir %{perl_vendorarch}/auto/Plasma4
+%dir %{perl_vendorarch}/auto/Solid
+%dir %{perl_vendorarch}/auto/Soprano
+%dir %{perl_vendorarch}/auto/SopranoClient
+%dir %{perl_vendorarch}/auto/SopranoServer
+%attr(755,root,root) %{perl_vendorarch}/auto/Akonadi/Akonadi.so
+%attr(755,root,root) %{perl_vendorarch}/auto/Attica/Attica.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KDECore4/KDECore4.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KDEUi4/KDEUi4.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KFile/KFile.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KHTML/KHTML.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KIO4/KIO4.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KNewStuff2/KNewStuff2.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KNewStuff3/KNewStuff3.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KParts/KParts.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KTextEditor/KTextEditor.so
+%attr(755,root,root) %{perl_vendorarch}/auto/KUtils/KUtils.so
+%attr(755,root,root) %{perl_vendorarch}/auto/Kate/Kate.so
+%attr(755,root,root) %{perl_vendorarch}/auto/Nepomuk/Nepomuk.so
+%attr(755,root,root) %{perl_vendorarch}/auto/NepomukQuery/NepomukQuery.so
+%attr(755,root,root) %{perl_vendorarch}/auto/Okular/Okular.so
+%attr(755,root,root) %{perl_vendorarch}/auto/Plasma4/Plasma4.so
+%attr(755,root,root) %{perl_vendorarch}/auto/Solid/Solid.so
+%attr(755,root,root) %{perl_vendorarch}/auto/Soprano/Soprano.so
+%attr(755,root,root) %{perl_vendorarch}/auto/SopranoClient/SopranoClient.so
+%attr(755,root,root) %{perl_vendorarch}/auto/SopranoServer/SopranoServer.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-KDE4.git/commitdiff/af63990fe0ce9dfcd3c79a67dcbe04d4b3862503
More information about the pld-cvs-commit
mailing list