diff --git a/README.md b/README.md index 61d9382..fba7601 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kaccounts-integration +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). + diff --git a/kaccounts-integration.spec b/kaccounts-integration.spec new file mode 100644 index 0000000..b49c0f1 --- /dev/null +++ b/kaccounts-integration.spec @@ -0,0 +1,102 @@ +%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 +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 15.04.3-1mamba +- package created using the webbuild interface