[4665] | 1 | Name: kamera |
---|
| 2 | Summary: Digital camera support for KDE |
---|
| 3 | Summary(ja): KDE のデジタルカメラサポート |
---|
| 4 | Version: 4.7.0 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | |
---|
| 7 | License: GPLv2 |
---|
| 8 | Group: Applications/Accessories |
---|
| 9 | URL: https://projects.kde.org/projects/kde/kdegraphics/kamera |
---|
| 10 | |
---|
| 11 | Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2 |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: kdelibs4-devel >= %{version} |
---|
| 15 | BuildRequires: libgphoto2-devel |
---|
| 16 | |
---|
| 17 | Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} |
---|
| 18 | |
---|
| 19 | # when split occurred |
---|
| 20 | Conflicts: kdegraphics < 4.6.95-10 |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | %{summary}. |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %build |
---|
| 31 | mkdir -p %{_target_platform} |
---|
| 32 | pushd %{_target_platform} |
---|
| 33 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
| 34 | %cmake \ |
---|
| 35 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 36 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 37 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 38 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 39 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 40 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 41 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 42 | .. |
---|
| 43 | popd |
---|
| 44 | |
---|
| 45 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %install |
---|
| 49 | rm -rf %{buildroot} |
---|
| 50 | |
---|
| 51 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %doc AUTHORS README |
---|
| 56 | %{_libdir}/kde4/kcm_kamera.so |
---|
| 57 | %{_libdir}/kde4/kio_kamera.so |
---|
| 58 | %{_datadir}/kde4/apps/solid/actions/solid_camera.desktop |
---|
| 59 | %{_datadir}/kde4/services/kamera.desktop |
---|
| 60 | %{_datadir}/kde4/services/camera.protocol |
---|
| 61 | %{_datadir}/doc/HTML/en/kcontrol/%{name}/ |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %changelog |
---|
| 65 | * Sat Aug 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2 |
---|
| 66 | - Initial build for Vine Linux |
---|
| 67 | |
---|
| 68 | * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1 |
---|
| 69 | - 4.7.0 |
---|
| 70 | |
---|
| 71 | * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1 |
---|
| 72 | - 4.6.95 |
---|
| 73 | - fix URL |
---|
| 74 | |
---|
| 75 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2 |
---|
| 76 | - fix Source0 URL |
---|
| 77 | - Conflicts: kdegraphics < 7:4.6.90-10 |
---|
| 78 | |
---|
| 79 | * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1 |
---|
| 80 | - first try |
---|