]> git.pld-linux.org Git - packages/kf5-syntax-highlighting.git/blame - kf5-syntax-highlighting.spec
- updated to 5.83.0
[packages/kf5-syntax-highlighting.git] / kf5-syntax-highlighting.spec
CommitLineData
abca9f98 1%define kdeframever 5.83
9997be6e 2%define qtver 5.9.0
c1e58b5c
WF
3%define kfname syntax-highlighting
4
5Summary: Syntax highlighting
6Name: kf5-%{kfname}
abca9f98 7Version: 5.83.0
c1e58b5c
WF
8Release: 1
9License: LGPL v2.1+
10Group: X11/Libraries
11Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
abca9f98 12# Source0-md5: 631415970e70fd2b83fc839f3d92e8b8
c1e58b5c 13URL: http://www.kde.org/
0e0ede98 14BuildRequires: ninja
c1e58b5c
WF
15BuildRequires: rpmbuild(macros) >= 1.164
16BuildRequires: tar >= 1:1.22
17BuildRequires: xz
18Requires: kf5-dirs
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%define qt5dir %{_libdir}/qt5
22
23%description
24Syntax highlighting.
25
26%package devel
27Summary: Header files for %{kfname} development
28Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
29Group: X11/Development/Libraries
30Requires: %{name} = %{version}-%{release}
31
32%description devel
33Header files for %{kfname} development.
34
35%description devel -l pl.UTF-8
36Pliki nagłówkowe dla programistów używających %{kfname}.
37
38%prep
39%setup -q -n %{kfname}-%{version}
40
41%build
42install -d build
43cd build
0e0ede98 44%cmake -G Ninja \
c1e58b5c
WF
45 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
46 ../
0e0ede98 47%ninja_build
c1e58b5c
WF
48
49%install
50rm -rf $RPM_BUILD_ROOT
0e0ede98 51%ninja_install -C build
c1e58b5c
WF
52
53%find_lang syntaxhighlighting5 --with-qm
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%post -p /sbin/ldconfig
59%postun -p /sbin/ldconfig
60
61%files -f syntaxhighlighting5.lang
62%defattr(644,root,root,755)
c1e58b5c 63%attr(755,root,root) %{_bindir}/kate-syntax-highlighter
64d1925f 64%ghost %{_libdir}/libKF5SyntaxHighlighting.so.5
c1e58b5c 65%attr(755,root,root) %{_libdir}/libKF5SyntaxHighlighting.so.5.*.*
af1f3f7a
WF
66%{_datadir}/qlogging-categories5/ksyntaxhighlighting.categories
67%{_datadir}/qlogging-categories5/ksyntaxhighlighting.renamecategories
c1e58b5c
WF
68
69%files devel
70%defattr(644,root,root,755)
71%{_includedir}/KF5/KSyntaxHighlighting
72%{_includedir}/KF5/ksyntaxhighlighting_version.h
73%{_libdir}/cmake/KF5SyntaxHighlighting
74%{_libdir}/libKF5SyntaxHighlighting.so
75%{_libdir}/qt5/mkspecs/modules/qt_KSyntaxHighlighting.pri
This page took 0.167606 seconds and 4 git commands to generate.