- updated to 5.53.0
[packages/kf5-kross.git] / kf5-kross.spec
CommitLineData
61b82a8d
WF
1%define kdeframever 5.53
2%define qtver 5.9.0
72cbc600
AM
3%define kfname kross
4#
f065963f 5Summary: Embedding of scripting into applications
72cbc600 6Name: kf5-%{kfname}
61b82a8d 7Version: 5.53.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
61b82a8d 12# Source0-md5: 690b0c422b7b22b7adf030be6a178e59
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}
53BuildRequires: rpmbuild(macros) >= 1.164
54BuildRequires: tar >= 1:1.22
55BuildRequires: xz
56BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57
58%define qt5dir %{_libdir}/qt5
59
60%description
61Kross is a scripting bridge to embed scripting functionality into an
62application. It supports QtScript as a scripting interpreter backend.
63
64%package devel
72cbc600
AM
65Summary: Header files for %{kfname} development
66Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
f065963f
WF
67Group: X11/Development/Libraries
68Requires: %{name} = %{version}-%{release}
69
70%description devel
72cbc600 71Header files for %{kfname} development.
f065963f
WF
72
73%description devel -l pl.UTF-8
72cbc600 74Pliki nagłówkowe dla programistów używających %{kfname}.
f065963f
WF
75
76%prep
72cbc600 77%setup -q -n %{kfname}-%{version}
f065963f
WF
78
79%build
80install -d build
81cd build
82%cmake \
72cbc600 83 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
f065963f
WF
84 ../
85%{__make}
86
87%install
88rm -rf $RPM_BUILD_ROOT
89
90%{__make} -C build/ install \
91 DESTDIR=$RPM_BUILD_ROOT
92
72cbc600 93%find_lang %{kfname}5
f065963f
WF
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
72cbc600 101%files -f %{kfname}5.lang
f065963f
WF
102%defattr(644,root,root,755)
103%doc README.md
104%attr(755,root,root) %{_bindir}/kf5kross
105%attr(755,root,root) %ghost %{_libdir}/libKF5KrossCore.so.5
72cbc600 106%attr(755,root,root) %{_libdir}/libKF5KrossCore.so.*.*.*
f065963f 107%attr(755,root,root) %ghost %{_libdir}/libKF5KrossUi.so.5
72cbc600
AM
108%attr(755,root,root) %{_libdir}/libKF5KrossUi.so.*.*.*
109%attr(755,root,root) %{qt5dir}/plugins/krossmoduleforms.so
110%attr(755,root,root) %{qt5dir}/plugins/krossmodulekdetranslation.so
f065963f
WF
111%attr(755,root,root) %{qt5dir}/plugins/krossqts.so
112%attr(755,root,root) %{qt5dir}/plugins/script/krossqtsplugin.so
113%{_mandir}/man1/kf5kross.1*
114
115%files devel
116%defattr(644,root,root,755)
117%{_includedir}/KF5/KrossCore
118%{_includedir}/KF5/KrossUi
119%{_includedir}/KF5/kross_version.h
120%{_libdir}/cmake/KF5Kross
121%attr(755,root,root) %{_libdir}/libKF5KrossCore.so
122%attr(755,root,root) %{_libdir}/libKF5KrossUi.so
123%{qt5dir}/mkspecs/modules/qt_KrossCore.pri
124%{qt5dir}/mkspecs/modules/qt_KrossUi.pri
This page took 0.185667 seconds and 4 git commands to generate.