LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kf5-gpgmepp.spec of Package kf5-gpgmepp (Project home:jkt-gentoo:trojita)

%global framework gpgmepp

Name:           kf5-%{framework}
Version: 15.12.3
Release: 1%{?dist}
Summary:        C++ wrapper and Qt integreation for GpgMe library

License:        LGPLv2+
URL:            https://projects.kde.org/%{framework}

%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0:        http://download.kde.org/%{stable}/applications/%{version}/src/%{framework}-%{version}.tar.xz

BuildRequires:  cmake
BuildRequires:  cmake(Qt5Core)
BuildRequires:  extra-cmake-modules
BuildRequires:  gpgme-devel
BuildRequires:  boost-devel

%description
%{summary}.

%package        devel
Summary:        Development files for %{name}
Requires:       %{name}%{?_isa} = %{version}-%{release}
Requires:       libgpg-error-devel
Requires:       gpgme-devel
Requires:       boost-devel
%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q -n %{framework}-%{version}


%build
%{cmake} \
    -DECM_MKSPECS_INSTALL_DIR:PATH=%{_libdir}/qt5/mkspecs/modules

make %{?_smp_mflags}


%install
# oh yeah, let's be different JUST BECAUSE. Thank you.
%if 0%{?suse_version} || 0%{?sles_version}
cd build
%endif
%make_install


%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%{_libdir}/libKF5Gpgmepp.so.*
%{_libdir}/libKF5Gpgmepp-pthread.so.*
%{_libdir}/libKF5QGpgme.so.*

%files devel
%{_includedir}/KF5/gpgmepp_version.h
%{_includedir}/KF5/gpgme++
%{_includedir}/KF5/qgpgme
%{_libdir}/libKF5Gpgmepp.so
%{_libdir}/libKF5Gpgmepp-pthread.so
%{_libdir}/libKF5QGpgme.so
%{_libdir}/cmake/KF5Gpgmepp/
%{_libdir}/qt5/mkspecs/modules/qt_QGpgme.pri


%changelog
* Tue Mar 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.3-1
- 15.12.3

* Sun Feb 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.2-1
- 15.12.2

* Sat Feb 06 2016 Rex Dieter <rdieter@fedoraproject.org> 15.12.1-1
- 15.12.1

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.12.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Tue Dec 15 2015 Jan Grulich <jgrulich@redhat.com> - 15.12.0-2
- Remove obsoletes/conflicts with kdepimlibs

* Tue Dec 15 2015 Jan Grulich <jgrulich@redhat.com> - 15.12-0-1
- Update to 15.12.0

* Mon Dec 07 2015 Jan Grulich <jgrulich@redhat.com> - 15.11.90-1
- Update to 15.11.90

* Thu Dec 03 2015 Jan Grulich <jgrulich@redhat.com> - 15.11.80-1
- Update to 15.11.80

* Mon Aug 24 2015 Daniel Vrátil <dvratil@redhat.com> - 15.08.0-1
- Initial version