[7801] | 1 | Name: kteatime |
---|
| 2 | Summary: A handy timer for steeping tea |
---|
[9222] | 3 | Version: 4.14.3 |
---|
[10548] | 4 | Release: 2%{?_dist_release} |
---|
[7801] | 5 | |
---|
| 6 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
| 7 | |
---|
| 8 | License: GPLv2 |
---|
| 9 | Group: Applications/Accessories |
---|
| 10 | URL: http://www.kde.org/ |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: desktop-file-utils |
---|
| 15 | BuildRequires: kdelibs-devel >= %{version} |
---|
| 16 | |
---|
| 17 | Requires(posttrans,postun): desktop-file-utils |
---|
| 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Packager: Takemikaduchi |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | Kteatime is a handy timer for steeping tea. No longer will you have |
---|
| 26 | to guess at how long it takes for your tea to be ready. Simply select |
---|
| 27 | the type of tea you have, and it will alert you when the tea is readyxi |
---|
| 28 | to drink. |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | mkdir -p %{_target_platform} |
---|
| 35 | pushd %{_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 | .. |
---|
| 45 | popd |
---|
| 46 | |
---|
| 47 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | %post |
---|
| 57 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 58 | |
---|
| 59 | %posttrans |
---|
| 60 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 61 | update-desktop-database -q &> /dev/null ||: |
---|
| 62 | |
---|
| 63 | %postun |
---|
| 64 | if [ $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 ||: |
---|
| 68 | fi |
---|
| 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 |
---|
[10548] | 81 | * Wed Jul 06 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2 |
---|
| 82 | - rebuild with gcc-5.4.0 |
---|
| 83 | |
---|
[9222] | 84 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[8430] | 87 | * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[8252] | 90 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
| 91 | - new upstream release |
---|
| 92 | |
---|
[8056] | 93 | * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
[7801] | 96 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 97 | - initial build |
---|
| 98 | |
---|