[9222] | 1 | Name: superkaramba |
---|
| 2 | Summary: Create widgets for your KDE desktop |
---|
| 3 | Version: 4.14.3 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Accessories |
---|
| 8 | URL: https://www.kde.org/ |
---|
| 9 | |
---|
| 10 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: kdelibs-devel >= %{version} |
---|
| 15 | BuildRequires: soprano-devel |
---|
| 16 | BuildRequires: python-devel |
---|
| 17 | BuildRequires: qimageblitz-devel |
---|
| 18 | |
---|
| 19 | # when split occurred |
---|
| 20 | Conflicts: kdeutils < 4.8.0 |
---|
| 21 | |
---|
| 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | Superkaramba allows you to have (interactive) desktop widgets shown on |
---|
| 27 | your desktop. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | mkdir -p %{_target_platform} |
---|
| 36 | pushd %{_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 | .. |
---|
| 46 | popd |
---|
| 47 | |
---|
| 48 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %post |
---|
| 58 | /sbin/ldconfig |
---|
| 59 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 60 | |
---|
| 61 | %posttrans |
---|
| 62 | update-desktop-database -q &> /dev/null ||: |
---|
| 63 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 64 | |
---|
| 65 | %postun |
---|
| 66 | if [ $1 -eq 0 ] ; then |
---|
| 67 | /sbin/ldconfig |
---|
| 68 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 69 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 70 | update-desktop-database -q &> /dev/null ||: |
---|
| 71 | fi |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %files |
---|
| 75 | %doc README |
---|
| 76 | %{_bindir}/%{name} |
---|
| 77 | %{_libdir}/kde4/*.so |
---|
| 78 | %{_libdir}/libsuperkaramba.so.* |
---|
| 79 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
| 80 | %{_datadir}/config/%{name}.knsrc |
---|
| 81 | %{_datadir}/dbus-1/interfaces/org.kde.%{name}.xml |
---|
| 82 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 83 | %{_datadir}/kde4/apps/%{name} |
---|
| 84 | %{_datadir}/kde4/services/*.desktop |
---|
| 85 | %exclude %{_libdir}/libsuperkaramba.so |
---|
| 86 | |
---|
| 87 | %changelog |
---|
| 88 | * Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
| 89 | - initila build |
---|