103 lines
2.9 KiB
RPMSpec
103 lines
2.9 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: kaccounts-integration
|
||
|
Version: 15.04.3
|
||
|
Release: 1mamba
|
||
|
Summary: KDE Frameworks 5 framework to store secrets
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.kde.org
|
||
|
Source: http://download.kde.org/stable/applications/%{version}/src/kaccounts-integration-%{version}.tar.xz
|
||
|
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libaccounts-qt5-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libkauth-devel
|
||
|
BuildRequires: libkcmutils-devel
|
||
|
BuildRequires: libkcodecs-devel
|
||
|
BuildRequires: libkconfig-devel
|
||
|
BuildRequires: libkconfigwidgets-devel
|
||
|
BuildRequires: libkcoreaddons-devel
|
||
|
BuildRequires: libkdbusaddons-devel
|
||
|
BuildRequires: libki18n-devel
|
||
|
BuildRequires: libkiconthemes-devel
|
||
|
BuildRequires: libkio-devel
|
||
|
BuildRequires: libkservice-devel
|
||
|
BuildRequires: libkwallet-devel
|
||
|
BuildRequires: libkwidgetsaddons-devel
|
||
|
BuildRequires: libqt5-devel
|
||
|
BuildRequires: libsignon-qt5-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Accounts-SSO is the framework we are using to store secrets (tokens, passwords) and for storing Accounts (small pieces of information containing a name, a provider, etc).
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: Shared libraries for %{name}
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
This package contains shared libraries for %{name}.
|
||
|
|
||
|
%package -n lib%{name}-devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake_kde5 -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -n lib%{name}
|
||
|
/sbin/ldconfig
|
||
|
exit 0
|
||
|
|
||
|
%postun -n lib%{name}
|
||
|
/sbin/ldconfig
|
||
|
exit 0
|
||
|
|
||
|
%files -n lib%{name}
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libkaccounts.so.*
|
||
|
%{_libdir}/qt5/plugins/kcm_kaccounts.so
|
||
|
%{_libdir}/qt5/plugins/kded_accounts.so
|
||
|
%{_datadir}/kservices5/kcm_kaccounts.desktop
|
||
|
%{_datadir}/kservices5/kded/accounts.desktop
|
||
|
%doc COPYING
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/KAccounts
|
||
|
%{_includedir}/KAccounts/*.h
|
||
|
%dir %{_libdir}/cmake/KAccounts
|
||
|
%{_libdir}/cmake/KAccounts/*.cmake
|
||
|
%{_libdir}/libkaccounts.so
|
||
|
|
||
|
%changelog
|
||
|
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 15.04.3-1mamba
|
||
|
- package created using the webbuild interface
|