[9222] | 1 | Name: kgpg |
---|
| 2 | Summary: A simple graphical interface for GnuPG |
---|
| 3 | Summary(ja): KDE用 GnuPG グラフィックインターフェース |
---|
| 4 | Version: 4.14.3 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | License: GPLv2 |
---|
| 8 | Group: Applications/Accessories |
---|
| 9 | URL: https://www.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: kdepimlibs-devel |
---|
| 17 | BuildRequires: soprano-devel |
---|
| 18 | BuildRequires: gpgme-devel |
---|
| 19 | |
---|
| 20 | # when split occurred |
---|
| 21 | Conflicts: kdeutils < 4.8.0 |
---|
| 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | Kgpg is a simple interface for GnuPG, a powerful encryption utility. |
---|
| 28 | GnuPG (also known as gpg) is included in most distributions and should |
---|
| 29 | be installed on your system. You can get the latest version on |
---|
| 30 | http://gnupg.org. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | mkdir -p %{_target_platform} |
---|
| 39 | pushd %{_target_platform} |
---|
| 40 | %cmake \ |
---|
| 41 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 42 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 43 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 44 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 45 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 46 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 47 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 48 | .. |
---|
| 49 | popd |
---|
| 50 | |
---|
| 51 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf %{buildroot} |
---|
| 56 | |
---|
| 57 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %post |
---|
| 61 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 62 | |
---|
| 63 | %posttrans |
---|
| 64 | update-desktop-database -q &> /dev/null ||: |
---|
| 65 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 66 | |
---|
| 67 | %postun |
---|
| 68 | if [ $1 -eq 0 ] ; then |
---|
| 69 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 70 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 71 | update-desktop-database -q &> /dev/null ||: |
---|
| 72 | fi |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %files |
---|
| 76 | %doc COPYING |
---|
| 77 | %{_bindir}/%{name} |
---|
| 78 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
| 79 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
| 80 | %{_datadir}/autostart/%{name}.desktop |
---|
| 81 | %{_datadir}/config.kcfg/%{name}.kcfg |
---|
| 82 | %{_datadir}/dbus-1/interfaces/org.kde.%{name}.Key.xml |
---|
| 83 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 84 | %{_datadir}/kde4/apps/%{name} |
---|
| 85 | %{_datadir}/kde4/services/ServiceMenus/*.desktop |
---|
| 86 | %{_docdir}/HTML/en/%{name} |
---|
| 87 | |
---|
| 88 | %changelog |
---|
| 89 | * Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
| 90 | - initila build |
---|