Blame lxqt-wallet.spec

a5d7d38
%global srcname lxqt_wallet
a5d7d38
a5d7d38
Name:           %(echo %{srcname} |tr _ - )
04b8309
Version:        3.0.0
04b8309
Release:        1%{?dist}
a5d7d38
Summary:        Create a kwallet like functionality for LXQt
a5d7d38
a5d7d38
License:        BSD
a5d7d38
URL:            https://github.com/mhogomchungu/%{srcname}
a5d7d38
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
a5d7d38
afcfe4b
BuildRequires:  gcc-c++
afcfe4b
a5d7d38
BuildRequires:  pkgconfig(lxqt)
a5d7d38
BuildRequires:  cmake(KF5Wallet)
a5d7d38
BuildRequires:  cmake(KF5Notifications)
a5d7d38
BuildRequires:  pkgconfig(libsecret-1)
a5d7d38
BuildRequires:  libgcrypt-devel
a5d7d38
BuildRequires:  qt5-linguist
a5d7d38
a5d7d38
%description
a5d7d38
This project seeks to give a functionality for secure storage
a5d7d38
of information that can be presented in key-values pair like
a5d7d38
user names-passwords pairs.
a5d7d38
a5d7d38
Currently the project can store the information in KDE's kwallet,
a5d7d38
GNOME's secret service or in an internal system that use libgcrypt
a5d7d38
as its cryptographic backend.
a5d7d38
a5d7d38
The internal secure storage system allows the functionality to
a5d7d38
be provided without dependencies on KDE or GNOME libraries.
a5d7d38
a5d7d38
This project is designed to be used by other projects simply by
a5d7d38
adding the source folder in the build system and start using it.
a5d7d38
a5d7d38
%package devel
a5d7d38
Summary:        Development files for %{name}
a5d7d38
Requires:       %{name}%{?_isa} = %{version}-%{release}
a5d7d38
Requires:       liblxqt-devel%{?_isa}
a5d7d38
a5d7d38
%description devel
a5d7d38
%{summary}.
a5d7d38
a5d7d38
a5d7d38
%prep
04b8309
%autosetup -n%{srcname}-%{version}
a5d7d38
cp -p backend/README README-backend
a5d7d38
cp -p frontend/README README-frontend
a5d7d38
a5d7d38
%build
a5d7d38
mkdir -p %{_target_platform}
a5d7d38
pushd %{_target_platform}
a5d7d38
%cmake_lxqt \
a5d7d38
 -DQT5=true \
a5d7d38
 -DLIB_SUFFIX=default \
a5d7d38
 -DNOKDESUPPORT=false \
a5d7d38
 -DNOSECRETSUPPORT=false \
a5d7d38
 -DBUILD_SHARED=true \
a5d7d38
 ..
a5d7d38
popd
a5d7d38
%make_build -C %{_target_platform}
a5d7d38
a5d7d38
%install
a5d7d38
%make_install -C %{_target_platform}
04b8309
%find_lang %{name} --with-qt
a5d7d38
a5d7d38
a5d7d38
%post -p /sbin/ldconfig
a5d7d38
a5d7d38
%postun -p /sbin/ldconfig
a5d7d38
a5d7d38
04b8309
%files -f %{name}.lang
a5d7d38
%license LICENSE
a5d7d38
%doc README.md changelog
a5d7d38
%{_bindir}/%{srcname}-cli
a5d7d38
%{_libdir}/*.so.*
a5d7d38
a5d7d38
%files devel
a5d7d38
%doc README-*
a5d7d38
%{_includedir}/lxqt/*.h
a5d7d38
%{_libdir}/*.so
a5d7d38
%{_libdir}/pkgconfig/*.pc
a5d7d38
a5d7d38
a5d7d38
%changelog
04b8309
* Wed Aug 03 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.0-1
04b8309
- new version
04b8309
- drop hacks for translations and pkgconfig
afcfe4b
- readd gcc-c++
04b8309
a5d7d38
* Sat Jul 23 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.1-2
a5d7d38
- fix compilation of translations
a5d7d38
- add hack for pkgconfig version
a5d7d38
a5d7d38
* Thu Jul 14 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.1-1
a5d7d38
- initial