[4743] | 1 | Name: libkdeedu |
---|
| 2 | Summary: Library for using with KDE 4 educational applications |
---|
[6797] | 3 | Version: 4.9.1 |
---|
[4743] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | |
---|
| 6 | License: GPLv2+ and LGPLv2+ |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2 |
---|
| 9 | |
---|
[6725] | 10 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
[4743] | 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: kdelibs4-devel >= %{version} |
---|
| 14 | |
---|
| 15 | Requires: kdelibs4 >= 4.7.0 |
---|
| 16 | |
---|
| 17 | # when split occurred |
---|
| 18 | Conflicts: kdeedu-libs < 4.6.95-10 |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | This package contains shared libraries used by KDE 4 educational |
---|
| 22 | applications. It provides support for data plotting and vocabulary |
---|
| 23 | data in the kvtml format. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
[5006] | 27 | Summary(ja): %{name} の開発用ファイル |
---|
[4743] | 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
| 30 | Requires: kdelibs4-devel |
---|
| 31 | |
---|
| 32 | %description devel |
---|
| 33 | %{summary}. |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | mkdir -p %{_target_platform} |
---|
| 42 | pushd %{_target_platform} |
---|
| 43 | %cmake \ |
---|
| 44 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 45 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 46 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 47 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 48 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 49 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 50 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 51 | .. |
---|
| 52 | popd |
---|
| 53 | |
---|
| 54 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | |
---|
| 60 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %post |
---|
| 64 | /sbin/ldconfig |
---|
| 65 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 66 | |
---|
| 67 | %posttrans |
---|
| 68 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 69 | |
---|
| 70 | %postun |
---|
| 71 | /sbin/ldconfig |
---|
| 72 | if [ $1 -eq 0 ] ; then |
---|
| 73 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 74 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 75 | fi |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %files |
---|
| 79 | %doc AUTHORS COPYING COPYING.LIB README |
---|
| 80 | %{_libdir}/libkeduvocdocument.so.* |
---|
| 81 | %{_datadir}/kde4/apps/kvtml/ |
---|
| 82 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 83 | |
---|
| 84 | %files devel |
---|
| 85 | %{_libdir}/libkeduvocdocument.so |
---|
| 86 | %{_libdir}/libqtmmlwidget.a |
---|
| 87 | %{_libdir}/cmake/libkdeedu/*.cmake |
---|
| 88 | %{_includedir}/kde4/libkdeedu/ |
---|
| 89 | |
---|
| 90 | %changelog |
---|
[6797] | 91 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
[6725] | 94 | * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[5006] | 97 | * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[4743] | 100 | * Sat Aug 6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1 |
---|
| 101 | - Initial build for Vine Linux |
---|