[7728] | 1 | Name: nepomuk-widgets |
---|
| 2 | Summary: Nepomuk Widgets library |
---|
| 3 | Summary(ja): Nepomuk widget ライブラリ |
---|
[8056] | 4 | Version: 4.11.4 |
---|
[7728] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | License: GPLv2,LGPLv2 |
---|
| 8 | Group: User Interface/Desktops |
---|
| 9 | URL: http://nepomuk.kde.org/ |
---|
| 10 | |
---|
| 11 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: kdelibs-devel >= %{version} |
---|
| 16 | BuildRequires: nepomuk-core-devel >= %{version} |
---|
| 17 | BuildRequires: soprano-devel |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | The Library containing the Nepomuk Widgets. |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %package devel |
---|
| 24 | Summary: Developer files for %{name} |
---|
| 25 | Summary(ja): %{name} の開発用ファイル |
---|
| 26 | Group: Development/Libraries |
---|
| 27 | Requires: %{name} = %{version}-%{release} |
---|
| 28 | Requires: nepomuk-core-devel >= %{version}-%{release} |
---|
| 29 | |
---|
| 30 | %description devel |
---|
| 31 | %{summary}. |
---|
| 32 | |
---|
| 33 | %description -l ja devel |
---|
| 34 | %{name} の開発用ファイルです. |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
| 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 | %clean |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %post -p /sbin/ldconfig |
---|
| 68 | %postun -p /sbin/ldconfig |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %files |
---|
| 72 | %defattr(-,root,root,-) |
---|
| 73 | %doc COPYING COPYING.LIB COPYING.README |
---|
| 74 | %{_libdir}/libnepomukwidgets.so.* |
---|
| 75 | |
---|
| 76 | %files devel |
---|
| 77 | %defattr(-,root,root,-) |
---|
| 78 | %{_includedir}/kde4/nepomuk2 |
---|
| 79 | %{_libdir}/libnepomukwidgets.so |
---|
| 80 | %{_libdir}/cmake/NepomukWidgets |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %changelog |
---|
[8056] | 84 | * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[7801] | 87 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[7728] | 90 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
| 91 | - initial build for Vine Linux |
---|