]> git.pld-linux.org Git - packages/perl-Qt4.git/blame - perl-Qt4.spec
- rebuild with perl 5.28.0
[packages/perl-Qt4.git] / perl-Qt4.spec
CommitLineData
f945e87f
AM
1%define _state stable
2%define orgname perlqt
b85b9e56 3%define qtver 4.8.0
f945e87f
AM
4
5# Conditional build:
6%bcond_with tests # do not perform "make test"
b7ce129f 7
f945e87f 8%define pdir PerlQt
b7ce129f 9%include /usr/lib/rpm/macros.perl
f945e87f
AM
10Summary: Qt4 - A Perl module interface to Qt4
11Summary(pl.UTF-8): Qt4 - interfejs Perla do Qt4
12Name: perl-Qt4
14db5c39 13Version: 4.14.3
b7557765 14Release: 8
f945e87f
AM
15License: GPL
16Group: Development/Languages/Perl
6f56fdec 17Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
14db5c39 18# Source0-md5: d410c5b95680d1c56d037d22ef984479
fda30796 19Patch0: invalid-type.patch
f945e87f 20URL: http://www.kde.org/
b02728a0 21BuildRequires: QtXmlPatterns-devel
b85b9e56 22BuildRequires: kde4-smokeqt-devel >= %{version}
b7ce129f
ER
23BuildRequires: tar >= 1:1.22
24BuildRequires: xz
f945e87f
AM
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
751d5f34
JR
27%define _noautoreq_perl Qt::_internal
28
f945e87f
AM
29%description
30This module provides bindings to the Qt 4 libraries for Perl.
31
32%description -l pl.UTF-8
33Moduł dostarcza dowiązania do Qt 4 dla Perla.
34
befe1935
BZ
35%package devel
36Summary: Header file for perl Qt 4
37Summary(pl.UTF-8): Plik nagłówkowe perl Qt 4
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description devel
42Header files for perl Qt 4.
43
44%description devel -l pl.UTF-8
45Plik nagłówkoww perl Qt 4.
46
f945e87f 47%define _noautoreq 'perl(Qt::_internal)'
b7ce129f 48# which package provides this?
f945e87f
AM
49
50%prep
51%setup -q -n %{orgname}-%{version}
fda30796 52%patch0 -p1
f945e87f
AM
53
54%build
55install -d build
56cd build
57%cmake \
58 -DCUSTOM_PERL_SITE_ARCH_DIR=%{perl_vendorarch} \
59 ../
60%{__make}
61
62%install
63rm -rf $RPM_BUILD_ROOT
b7ce129f
ER
64%{__make} -C build install \
65 kde_htmldir=%{_kdedocdir} \
66 DESTDIR=$RPM_BUILD_ROOT
f945e87f
AM
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
b7ce129f
ER
71%post -p /sbin/ldconfig
72%postun -p /sbin/ldconfig
f945e87f
AM
73
74%files
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_bindir}/prcc4_bin
77%attr(755,root,root) %{_bindir}/puic4
78%attr(755,root,root) %{_bindir}/qdbusxml2perl
f945e87f
AM
79%{perl_vendorarch}/*.pm
80%dir %{perl_vendorarch}/QtCore4
81%{perl_vendorarch}/QtCore4/*.pm
82%dir %{perl_vendorarch}/auto
83%dir %{perl_vendorarch}/auto/*
84%attr(755,root,root) %{perl_vendorarch}/auto/*/*.so
85%dir %{_datadir}/perlqt
f945e87f 86%attr(755,root,root) %{_datadir}/perlqt/doxsubpp.pl
befe1935
BZ
87
88%files devel
89%defattr(644,root,root,755)
90%{_includedir}/perlqt
91%{_datadir}/perlqt/cmake
This page took 0.112267 seconds and 4 git commands to generate.