]> git.pld-linux.org Git - packages/ka5-incidenceeditor.git/blob - ka5-incidenceeditor.spec
- updated to 18.12.0
[packages/ka5-incidenceeditor.git] / ka5-incidenceeditor.spec
1 %define         kdeappsver      18.12.0
2 %define         qtver           5.9.0
3 %define         kaname          incidenceeditor
4 Summary:        Incidence editor
5 Name:           ka5-%{kaname}
6 Version:        18.12.0
7 Release:        1
8 License:        GPL v2+/LGPL v2.1+
9 Group:          X11/Libraries
10 Source0:        http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
11 # Source0-md5:  e9fdda4650d2a6c4de728100dd1b7967
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  cmake >= 2.8.12
15 BuildRequires:  kf5-extra-cmake-modules >= 5.53.0
16 BuildRequires:  qt5-build >= %{qtver}
17 BuildRequires:  rpmbuild(macros) >= 1.164
18 BuildRequires:  shared-mime-info
19 BuildRequires:  tar >= 1:1.22
20 BuildRequires:  xz
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This lib provides incidence editor.
25
26 %package devel
27 Summary:        Header files for %{kaname} development
28 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kaname}
29 Group:          X11/Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31
32 %description devel
33 Header files for %{kaname} development.
34
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe dla programistów używających %{kaname}.
37
38 %prep
39 %setup -q -n %{kaname}-%{version}
40
41 %build
42 install -d build
43 cd build
44 %cmake \
45         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
46         ..
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} -C build install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %find_lang %{kaname} --all-name --with-kde
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %files -f %{kaname}.lang
63 %defattr(644,root,root,755)
64
65 %files devel
66 %defattr(644,root,root,755)
This page took 0.11724 seconds and 4 git commands to generate.