]>
Commit | Line | Data |
---|---|---|
af63990f | 1 | %define state stable |
14b8b7f6 | 2 | %define orgname perlkde |
34f2f2b3 | 3 | %define qtver 4.8.0 |
14b8b7f6 AM |
4 | |
5 | # Conditional build: | |
6 | %bcond_with tests # do not perform "make test" | |
a1e95f56 | 7 | |
14b8b7f6 AM |
8 | Summary: KDE4 - A Perl module interface to KDE4 |
9 | Summary(pl.UTF-8): KDE4 - interfejs Perla do KDE4 | |
10 | Name: perl-KDE4 | |
ad8c67cb | 11 | Version: 4.14.3 |
82b68aaa | 12 | Release: 13 |
14b8b7f6 AM |
13 | License: GPL |
14 | Group: Development/Languages/Perl | |
af63990f | 15 | Source0: http://download.kde.org/%{state}/%{version}/src/%{orgname}-%{version}.tar.xz |
65de300e | 16 | # Source0-md5: c94a719d680707dae5b35a9ebba1a9f0 |
14b8b7f6 AM |
17 | URL: http://www.kde.org/ |
18 | # BuildRequires: sonnet-devel | |
19 | BuildRequires: akonadi-devel | |
20 | BuildRequires: attica-devel | |
3b80dd05 | 21 | BuildRequires: automoc4 |
34f2f2b3 | 22 | BuildRequires: kde4-kate-devel |
14b8b7f6 | 23 | BuildRequires: kde4-kdepimlibs-devel |
34f2f2b3 | 24 | BuildRequires: kde4-okular-devel |
34f2f2b3 | 25 | BuildRequires: kde4-smokekde-devel >= %{version} |
a1e95f56 | 26 | BuildRequires: perl-Qt4-devel >= %{version} |
14b8b7f6 | 27 | BuildRequires: soprano-devel |
a1e95f56 | 28 | BuildRequires: tar >= 1:1.22 |
af63990f | 29 | BuildRequires: xz |
14b8b7f6 AM |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
a1e95f56 | 32 | %define _noautoreq perl(.*_internal) |
72849f0f | 33 | |
14b8b7f6 AM |
34 | %description |
35 | This module provides bindings to the KDE 4 libraries for Perl. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Moduł dostarcza dowiązania do KDE4 4 dla Perla. | |
39 | ||
40 | %prep | |
41 | %setup -q -n %{orgname}-%{version} | |
42 | ||
43 | %build | |
44 | install -d build | |
45 | cd build | |
46 | %cmake \ | |
47 | -DCUSTOM_PERL_SITE_ARCH_DIR=%{perl_vendorarch} \ | |
af63990f | 48 | .. |
14b8b7f6 AM |
49 | %{__make} |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
a1e95f56 ER |
53 | %{__make} -C build install \ |
54 | kde_htmldir=%{_kdedocdir} \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
14b8b7f6 AM |
56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %attr(755,root,root) %{_libdir}/kde4/kperlpluginfactory.so | |
63 | %{perl_vendorarch}/*.pm | |
af63990f ER |
64 | %dir %{perl_vendorarch}/auto/Akonadi |
65 | %dir %{perl_vendorarch}/auto/Attica | |
66 | %dir %{perl_vendorarch}/auto/KDECore4 | |
67 | %dir %{perl_vendorarch}/auto/KDEUi4 | |
68 | %dir %{perl_vendorarch}/auto/KFile | |
69 | %dir %{perl_vendorarch}/auto/KHTML | |
70 | %dir %{perl_vendorarch}/auto/KIO4 | |
71 | %dir %{perl_vendorarch}/auto/KNewStuff2 | |
72 | %dir %{perl_vendorarch}/auto/KNewStuff3 | |
73 | %dir %{perl_vendorarch}/auto/KParts | |
74 | %dir %{perl_vendorarch}/auto/KTextEditor | |
75 | %dir %{perl_vendorarch}/auto/KUtils | |
76 | %dir %{perl_vendorarch}/auto/Kate | |
77 | %dir %{perl_vendorarch}/auto/Nepomuk | |
78 | %dir %{perl_vendorarch}/auto/NepomukQuery | |
79 | %dir %{perl_vendorarch}/auto/Okular | |
80 | %dir %{perl_vendorarch}/auto/Plasma4 | |
81 | %dir %{perl_vendorarch}/auto/Solid | |
82 | %dir %{perl_vendorarch}/auto/Soprano | |
83 | %dir %{perl_vendorarch}/auto/SopranoClient | |
84 | %dir %{perl_vendorarch}/auto/SopranoServer | |
85 | %attr(755,root,root) %{perl_vendorarch}/auto/Akonadi/Akonadi.so | |
86 | %attr(755,root,root) %{perl_vendorarch}/auto/Attica/Attica.so | |
87 | %attr(755,root,root) %{perl_vendorarch}/auto/KDECore4/KDECore4.so | |
88 | %attr(755,root,root) %{perl_vendorarch}/auto/KDEUi4/KDEUi4.so | |
89 | %attr(755,root,root) %{perl_vendorarch}/auto/KFile/KFile.so | |
90 | %attr(755,root,root) %{perl_vendorarch}/auto/KHTML/KHTML.so | |
91 | %attr(755,root,root) %{perl_vendorarch}/auto/KIO4/KIO4.so | |
92 | %attr(755,root,root) %{perl_vendorarch}/auto/KNewStuff2/KNewStuff2.so | |
93 | %attr(755,root,root) %{perl_vendorarch}/auto/KNewStuff3/KNewStuff3.so | |
94 | %attr(755,root,root) %{perl_vendorarch}/auto/KParts/KParts.so | |
95 | %attr(755,root,root) %{perl_vendorarch}/auto/KTextEditor/KTextEditor.so | |
96 | %attr(755,root,root) %{perl_vendorarch}/auto/KUtils/KUtils.so | |
97 | %attr(755,root,root) %{perl_vendorarch}/auto/Kate/Kate.so | |
98 | %attr(755,root,root) %{perl_vendorarch}/auto/Nepomuk/Nepomuk.so | |
99 | %attr(755,root,root) %{perl_vendorarch}/auto/NepomukQuery/NepomukQuery.so | |
100 | %attr(755,root,root) %{perl_vendorarch}/auto/Okular/Okular.so | |
101 | %attr(755,root,root) %{perl_vendorarch}/auto/Plasma4/Plasma4.so | |
102 | %attr(755,root,root) %{perl_vendorarch}/auto/Solid/Solid.so | |
103 | %attr(755,root,root) %{perl_vendorarch}/auto/Soprano/Soprano.so | |
104 | %attr(755,root,root) %{perl_vendorarch}/auto/SopranoClient/SopranoClient.so | |
105 | %attr(755,root,root) %{perl_vendorarch}/auto/SopranoServer/SopranoServer.so |