| 1 | Name: libkomparediff2 |
|---|
| 2 | Summary: The library for the KDE kompare |
|---|
| 3 | Summary(ja): KDE kompare 用のライブラリ |
|---|
| 4 | Version: 4.12.5 |
|---|
| 5 | Release: 1%{?_dist_release} |
|---|
| 6 | |
|---|
| 7 | License: GPLv2,LGPLv2,LGPLv2.1,GPLv3,LGPLv3 |
|---|
| 8 | URL: https://code.launchpad.net/~neon/kdegames/libkdegames |
|---|
| 9 | Group: System Environment/Libraries |
|---|
| 10 | |
|---|
| 11 | Source0: ftp://ftp.kde.org/pub/kde/table/%{version}/src/%{name}-%{version}.tar.xz |
|---|
| 12 | |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 14 | BuildRequires: kdelibs-devel >= %{version} |
|---|
| 15 | BuildRequires: soprano-devel |
|---|
| 16 | |
|---|
| 17 | Requires: kdelibs >= %{version} |
|---|
| 18 | |
|---|
| 19 | %description |
|---|
| 20 | This package contains the library for the kompare package. |
|---|
| 21 | |
|---|
| 22 | %package devel |
|---|
| 23 | Summary: Development files for %{name} |
|---|
| 24 | Summary(ja): %{name} の開発用ファイル |
|---|
| 25 | Group: Development/Libraries |
|---|
| 26 | Requires: %{name} = %{version}-%{release} |
|---|
| 27 | Requires: kdelibs-devel |
|---|
| 28 | |
|---|
| 29 | %description devel |
|---|
| 30 | %{summary}. |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | %prep |
|---|
| 34 | %setup -q |
|---|
| 35 | |
|---|
| 36 | %build |
|---|
| 37 | mkdir -p %{_target_platform} |
|---|
| 38 | pushd %{_target_platform} |
|---|
| 39 | %cmake \ |
|---|
| 40 | -DCMAKE_BUILD_TYPE=release \ |
|---|
| 41 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
|---|
| 42 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
|---|
| 43 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
|---|
| 44 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
|---|
| 45 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
|---|
| 46 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
|---|
| 47 | .. |
|---|
| 48 | popd |
|---|
| 49 | |
|---|
| 50 | make %{?_smp_mflags} -C %{_target_platform} |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | %install |
|---|
| 54 | rm -rf %{buildroot} |
|---|
| 55 | |
|---|
| 56 | make install DESTDIR=%{buildroot} -C %{_target_platform} |
|---|
| 57 | |
|---|
| 58 | |
|---|
| 59 | %post -p /sbin/ldconfig |
|---|
| 60 | |
|---|
| 61 | %postun -p /sbin/ldconfig |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | %files |
|---|
| 65 | %defattr(-,root,root,-) |
|---|
| 66 | %doc COPYING COPYING-CMAKE-SCRIPTS |
|---|
| 67 | %doc COPYING.GPL2 COPYING.GPL3 |
|---|
| 68 | %doc COPYING.LGPL2 COPYING.LGPL2.1 COPYING.LGPL3 |
|---|
| 69 | %{_libdir}/libkomparediff2.so.* |
|---|
| 70 | |
|---|
| 71 | %files devel |
|---|
| 72 | %defattr(-,root,root,-) |
|---|
| 73 | %{_includedir}/kde4/%{name} |
|---|
| 74 | %{_libdir}/libkomparediff2.so |
|---|
| 75 | %{_libdir}/cmake/%{name} |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | %changelog |
|---|
| 79 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
|---|
| 80 | - new upstream releease |
|---|
| 81 | |
|---|
| 82 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
|---|
| 83 | - initial build |
|---|