source: projects/specs/trunk/k/kteatime/kteatime-vl.spec @ 9222

Revision 9222, 2.3 KB checked in by Takemikaduchi, 9 years ago (diff)

R: rebuild
openbabel: add BR
k3b: new upstream release
others: KDE-4.14.3

Line 
1Name: kteatime
2Summary: A handy timer for steeping tea
3Version: 4.14.3
4Release: 1%{?_dist_release}
5
6Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
7
8License: GPLv2
9Group: Applications/Accessories
10URL: http://www.kde.org/
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: desktop-file-utils
15BuildRequires: kdelibs-devel >= %{version}
16
17Requires(posttrans,postun): desktop-file-utils
18
19Vendor: Project Vine
20Distribution: Vine Linux
21Packager: Takemikaduchi
22
23
24%description
25Kteatime is a handy timer for steeping tea. No longer will you have
26to guess at how long it takes for your tea to be ready. Simply select
27the type of tea you have, and it will alert you when the tea is readyxi
28to drink.
29
30%prep
31%setup -q
32
33%build
34mkdir -p %{_target_platform}
35pushd %{_target_platform}
36%cmake \
37    -DCMAKE_BUILD_TYPE=release \
38    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
39    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
40    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
41    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
42    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
43    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
44    ..
45popd
46
47make %{?_smp_mflags} -C %{_target_platform}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%post
57touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
58
59%posttrans
60gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
61update-desktop-database -q &> /dev/null ||:
62
63%postun
64if [ $1 -eq 0 ] ; then
65  touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
66  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
67  update-desktop-database -q &> /dev/null ||:
68fi
69
70
71%files
72%defattr(-,root,root,-)
73%doc ChangeLog COPYING COPYING.DOC
74%{_bindir}/%{name}
75%{_datadir}/applications/kde4/%{name}.desktop
76%{_datadir}/icons/hicolor/*/*/*
77%{_datadir}/kde4/apps/%{name}
78%{_docdir}/HTML/*/*/
79
80%changelog
81* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
82- new upstream release
83
84* Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
85- new upstream release
86
87* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
88- new upstream release
89
90* Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
91- new upstream release
92
93* Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
94- initial build
95
Note: See TracBrowser for help on using the repository browser.