- updated to 5.59.0
[packages/kf5-kross.git] / kf5-kross.spec
CommitLineData
00f75251 1%define kdeframever 5.59
61b82a8d 2%define qtver 5.9.0
72cbc600
AM
3%define kfname kross
4#
f065963f 5Summary: Embedding of scripting into applications
72cbc600 6Name: kf5-%{kfname}
00f75251 7Version: 5.59.0
72cbc600 8Release: 1
f065963f
WF
9License: LGPL v2.1+
10Group: X11/Libraries
72cbc600 11Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/portingAids/%{kfname}-%{version}.tar.xz
00f75251 12# Source0-md5: 567e73202c15287f26c3b9e7ac419735
f065963f
WF
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel
15BuildRequires: Qt5DBus-devel >= 5.2.0)
16BuildRequires: Qt5Gui-devel >= 5.3.1
17BuildRequires: Qt5Network-devel >= 5.2.0)
18BuildRequires: Qt5Script-devel
19BuildRequires: Qt5Test-devel
20BuildRequires: Qt5UiTools-devel
21BuildRequires: Qt5Widgets-devel
22BuildRequires: Qt5Xml-devel
23BuildRequires: cmake >= 2.8.12
24BuildRequires: gettext-devel
25BuildRequires: kf5-attica-devel >= %{version}
26BuildRequires: kf5-extra-cmake-modules >= 1.0.0
27BuildRequires: kf5-karchive-devel >= %{version}
28BuildRequires: kf5-kauth-devel >= %{version}
29BuildRequires: kf5-kbookmarks-devel >= %{version}
30BuildRequires: kf5-kcodecs-devel >= %{version}
31BuildRequires: kf5-kcompletion-devel >= %{version}
32BuildRequires: kf5-kconfig-devel >= %{version}
33BuildRequires: kf5-kconfigwidgets-devel >= %{version}
34BuildRequires: kf5-kcoreaddons-devel >= %{version}
35BuildRequires: kf5-kdbusaddons-devel >= %{version}
36BuildRequires: kf5-kdoctools-devel >= %{version}
37BuildRequires: kf5-kglobalaccel-devel >= %{version}
38BuildRequires: kf5-kguiaddons-devel >= %{version}
39BuildRequires: kf5-ki18n-devel >= %{version}
40BuildRequires: kf5-kiconthemes-devel >= %{version}
41BuildRequires: kf5-kio-devel >= %{version}
42BuildRequires: kf5-kitemviews-devel >= %{version}
43BuildRequires: kf5-kjobwidgets-devel >= %{version}
44BuildRequires: kf5-knotifications-devel >= %{version}
45BuildRequires: kf5-kparts-devel >= %{version}
46BuildRequires: kf5-kservice-devel >= %{version}
47BuildRequires: kf5-ktextwidgets-devel >= %{version}
48BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
49BuildRequires: kf5-kwindowsystem-devel >= %{version}
50BuildRequires: kf5-kxmlgui-devel >= %{version}
51BuildRequires: kf5-solid-devel >= %{version}
52BuildRequires: kf5-sonnet-devel >= %{version}
df669820 53BuildRequires: ninja
f065963f
WF
54BuildRequires: rpmbuild(macros) >= 1.164
55BuildRequires: tar >= 1:1.22
56BuildRequires: xz
57BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58
59%define qt5dir %{_libdir}/qt5
60
61%description
62Kross is a scripting bridge to embed scripting functionality into an
63application. It supports QtScript as a scripting interpreter backend.
64
65%package devel
72cbc600
AM
66Summary: Header files for %{kfname} development
67Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
f065963f
WF
68Group: X11/Development/Libraries
69Requires: %{name} = %{version}-%{release}
70
71%description devel
72cbc600 72Header files for %{kfname} development.
f065963f
WF
73
74%description devel -l pl.UTF-8
72cbc600 75Pliki nagłówkowe dla programistów używających %{kfname}.
f065963f
WF
76
77%prep
72cbc600 78%setup -q -n %{kfname}-%{version}
f065963f
WF
79
80%build
81install -d build
82cd build
df669820 83%cmake -G Ninja \
72cbc600 84 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
f065963f 85 ../
df669820 86%ninja_build
f065963f
WF
87
88%install
89rm -rf $RPM_BUILD_ROOT
df669820 90%ninja_install -C build
f065963f 91
72cbc600 92%find_lang %{kfname}5
f065963f
WF
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
72cbc600 100%files -f %{kfname}5.lang
f065963f
WF
101%defattr(644,root,root,755)
102%doc README.md
103%attr(755,root,root) %{_bindir}/kf5kross
104%attr(755,root,root) %ghost %{_libdir}/libKF5KrossCore.so.5
72cbc600 105%attr(755,root,root) %{_libdir}/libKF5KrossCore.so.*.*.*
f065963f 106%attr(755,root,root) %ghost %{_libdir}/libKF5KrossUi.so.5
72cbc600
AM
107%attr(755,root,root) %{_libdir}/libKF5KrossUi.so.*.*.*
108%attr(755,root,root) %{qt5dir}/plugins/krossmoduleforms.so
109%attr(755,root,root) %{qt5dir}/plugins/krossmodulekdetranslation.so
f065963f
WF
110%attr(755,root,root) %{qt5dir}/plugins/krossqts.so
111%attr(755,root,root) %{qt5dir}/plugins/script/krossqtsplugin.so
112%{_mandir}/man1/kf5kross.1*
00f75251
WF
113%lang(ca) %{_mandir}/ca/man1/kf5kross.1*
114%lang(de) %{_mandir}/de/man1/kf5kross.1*
115%lang(es) %{_mandir}/es/man1/kf5kross.1*
116%lang(it) %{_mandir}/it/man1/kf5kross.1*
117%lang(nl) %{_mandir}/nl/man1/kf5kross.1*
118%lang(pt) %{_mandir}/pt/man1/kf5kross.1*
119%lang(pt_BR) %{_mandir}/pt_BR/man1/kf5kross.1*
120%lang(sv) %{_mandir}/sv/man1/kf5kross.1*
121%lang(uk) %{_mandir}/uk/man1/kf5kross.1*
f065963f
WF
122
123%files devel
124%defattr(644,root,root,755)
125%{_includedir}/KF5/KrossCore
126%{_includedir}/KF5/KrossUi
127%{_includedir}/KF5/kross_version.h
128%{_libdir}/cmake/KF5Kross
129%attr(755,root,root) %{_libdir}/libKF5KrossCore.so
130%attr(755,root,root) %{_libdir}/libKF5KrossUi.so
131%{qt5dir}/mkspecs/modules/qt_KrossCore.pri
132%{qt5dir}/mkspecs/modules/qt_KrossUi.pri
This page took 0.095133 seconds and 4 git commands to generate.