]> git.pld-linux.org Git - packages/kp5-breeze-plymouth.git/blame - kp5-breeze-plymouth.spec
- updated to 5.24.4
[packages/kp5-breeze-plymouth.git] / kp5-breeze-plymouth.spec
CommitLineData
cefe37b1
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
4%define kdeplasmaver 5.24.4
3eb4f570
WF
5%define qtver 5.9.0
6%define kpname breeze-plymouth
7
8Summary: breeze-plymouth
9Name: kp5-%{kpname}
cefe37b1 10Version: 5.24.4
3eb4f570
WF
11Release: 1
12License: LGPL v2.1+
13Group: X11/Libraries
14Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
cefe37b1 15# Source0-md5: b652fa6a3d3245e2cc12bb646bd325b4
3eb4f570
WF
16URL: http://www.kde.org/
17BuildRequires: cmake >= 2.8.12
18BuildRequires: kf5-extra-cmake-modules >= 1.8.0
19BuildRequires: ninja
20BuildRequires: plymouth-devel
21BuildRequires: rpmbuild(macros) >= 1.164
22BuildRequires: xz
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%define qt5dir %{_libdir}/qt5
26
27%description
28breeze-plymouth.
29
30%prep
31%setup -q -n %{kpname}-%{version}
32
33%build
34install -d build
35cd build
36%cmake -G Ninja \
cefe37b1 37 %{!?with_tests:-DBUILD_TESTING=OFF} \
3eb4f570
WF
38 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
39 -DHTML_INSTALL_DIR=%{_kdedocdir} \
40 ../
41%ninja_build
42
cefe37b1
WF
43%if %{with tests}
44ctest
45%endif
46
3eb4f570
WF
47%install
48rm -rf $RPM_BUILD_ROOT
49%ninja_install -C build
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%{_libdir}/plymouth/breeze-text.so
57%{_datadir}/plymouth/themes/breeze-text
58%{_datadir}/plymouth/themes/breeze
This page took 0.141033 seconds and 4 git commands to generate.