]> git.pld-linux.org Git - SPECS.git/blob - kde4-kteatime.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / kde4-kteatime.spec
1 #
2 %define         _state          stable
3 %define         orgname         kteatime
4 %define         qtver           4.8.0
5
6 Summary:        kteatime
7 Name:           kde4-%{orgname}
8 Version:        4.14.3
9 Release:        2
10 License:        LGPL
11 Group:          X11/Applications
12 Source0:        http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
13 # Source0-md5:  1abd7e1c186cfc1ddfdbcdf5deb83cd3
14 URL:            http://www.kde.org/
15 BuildRequires:  automoc4 >= 0.9.84
16 BuildRequires:  cmake >= 2.8.0
17 BuildRequires:  kde4-kdebase-workspace-devel >= 4.11.4
18 BuildRequires:  kde4-kdelibs-devel >= %{version}
19 BuildRequires:  qt4-build >= %{qtver}
20 BuildRequires:  qt4-qmake >= %{qtver}
21 BuildRequires:  rpmbuild(macros) >= 1.600
22 Obsoletes:      kde4-kdetoys-%{orgname}
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 System tray applet that makes sure your tea doesn't get too strong.
27
28 %prep
29 %setup -q -n %{orgname}-%{version}
30
31 %build
32 install -d build
33 cd build
34 %cmake \
35         .. \
36
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} -C build install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/kteatime
51 %{_desktopdir}/kde4/kteatime.desktop
52 %{_datadir}/apps/kteatime
53 %{_kdedocdir}/en/kteatime
54 %{_iconsdir}/hicolor/*x*/apps/kteatime.png
55 %{_iconsdir}/hicolor/scalable/apps/kteatime.svgz
This page took 0.116888 seconds and 3 git commands to generate.