[4743] | 1 | Name: libkdeedu |
---|
| 2 | Summary: Library for using with KDE 4 educational applications |
---|
[5006] | 3 | Version: 4.7.2 |
---|
[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 | |
---|
| 10 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2 |
---|
| 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 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
| 44 | %cmake \ |
---|
| 45 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 46 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 47 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 48 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 49 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 50 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 51 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 52 | .. |
---|
| 53 | popd |
---|
| 54 | |
---|
| 55 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %post |
---|
| 65 | /sbin/ldconfig |
---|
| 66 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 67 | |
---|
| 68 | %posttrans |
---|
| 69 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 70 | |
---|
| 71 | %postun |
---|
| 72 | /sbin/ldconfig |
---|
| 73 | if [ $1 -eq 0 ] ; then |
---|
| 74 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 76 | fi |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %files |
---|
| 80 | %doc AUTHORS COPYING COPYING.LIB README |
---|
| 81 | %{_libdir}/libkeduvocdocument.so.* |
---|
| 82 | %{_datadir}/kde4/apps/kvtml/ |
---|
| 83 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 84 | |
---|
| 85 | %files devel |
---|
| 86 | %{_libdir}/libkeduvocdocument.so |
---|
| 87 | %{_libdir}/libqtmmlwidget.a |
---|
| 88 | %{_libdir}/cmake/libkdeedu/*.cmake |
---|
| 89 | %{_includedir}/kde4/libkdeedu/ |
---|
| 90 | |
---|
| 91 | %changelog |
---|
[5006] | 92 | * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[4743] | 95 | * Sat Aug 6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1 |
---|
| 96 | - Initial build for Vine Linux |
---|