source: projects/specs/trunk/k/ktimer/ktimer-vl.spec @ 10563

Revision 10563, 2.0 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:    ktimer
2Summary: The timer application for KDE
3Summary(ja): KDE用時刻アプリケーション
4Version: 4.14.3
5Release: 2%{?_dist_release}
6
7License: GPLv2
8Group:   Applications/Accessories
9URL:     https://www.kde.org/
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: kdelibs-devel >= %{version}
16BuildRequires: soprano-devel
17
18# when split occurred
19Conflicts: kdeutils < 4.8.0
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25KTimer allows you to enter several tasks and to set a timer for each
26of them. When the timer reaches zero, the task is executed. The timers
27for each task can be started, stopped, changed, or looped.
28
29
30%prep
31%setup -q
32
33
34%build
35mkdir -p %{_target_platform}
36pushd %{_target_platform}
37%cmake \
38    -DCMAKE_BUILD_TYPE=release \
39    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
40    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
41    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
42    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
43    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
44    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
45    ..
46popd
47
48make %{?_smp_mflags} -C %{_target_platform}
49
50
51%install
52rm -rf %{buildroot}
53
54make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
55
56
57%post
58touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
59
60%posttrans
61update-desktop-database -q &> /dev/null ||:
62gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
63
64%postun
65if [ $1 -eq 0 ] ; then
66  touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
67  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
68  update-desktop-database -q &> /dev/null ||:
69fi
70
71
72%files
73%doc COPYING
74%{_bindir}/%{name}
75%{_datadir}/applications/kde4/%{name}.desktop
76%{_datadir}/icons/hicolor/*/*/*
77%{_docdir}/HTML/en/%{name}
78
79%changelog
80* Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
81- rebuild with gcc-5.4.0
82
83* Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
84- initila build
Note: See TracBrowser for help on using the repository browser.