ktp-accounts-kcm/ktp-accounts-kcm.spec

110 lines
3.6 KiB
RPMSpec

Name: ktp-accounts-kcm
Version: 0.8.1
Release: 1mamba
Summary: A KControl Module which handles adding/editing/removing Telepathy Accounts
Group: Graphical Desktop/Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Source: http://download.kde.org/stable/kde-telepathy/%{version}/src/ktp-accounts-kcm-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: ktp-common-internals-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: telepathy-qt-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libqt4-devel
BuildRequires: kdelibs-devel
Requires: kde-workspace
Requires: telepathy-rakia
Requires: telepathy-haze
Requires: telepathy-salut
Requires: telepathy-gabble
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
This is a KControl Module which handles adding/editing/removing Telepathy Accounts.
It interacts with any Telepathy Spec compliant AccountManager, such as telepathy-accountmanager-kwallet to manipulate the accounts.
It is modular in design, with each ConnectionManager-Protocol combination having a plugin that provides customised forms for adding or editing their accounts, and also with a generic plugin which can be used as a fallback for ConnectionManager-Protocol combinations where no plugin exists.
%prep
%setup -q
%build
%cmake_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --all-name --with-kde || touch %{name}.lang
# remove unpackaged files
rm -f %{buildroot}%{_kde4_libdir}/libktpaccountskcminternal.so
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%posttrans
update-desktop-database -q >/dev/null 2>&1
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
fi
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde4_libdir}/kde4/kcm_ktp_accounts.so
%{_kde4_libdir}/kde4/ktpaccountskcm_plugin_butterfly.so
%{_kde4_libdir}/kde4/ktpaccountskcm_plugin_gabble.so
%{_kde4_libdir}/kde4/ktpaccountskcm_plugin_haze.so
%{_kde4_libdir}/kde4/ktpaccountskcm_plugin_idle.so
%{_kde4_libdir}/kde4/ktpaccountskcm_plugin_rakia.so
%{_kde4_libdir}/kde4/ktpaccountskcm_plugin_salut.so
%{_kde4_libdir}/kde4/ktpaccountskcm_plugin_sipe.so
%{_kde4_libdir}/kde4/ktpaccountskcm_plugin_sunshine.so
%{_kde4_libdir}/libktpaccountskcminternal.so.*
%{_kde4_servicesdir}/kcm_ktp_accounts.desktop
%{_kde4_servicesdir}/ktpaccountskcm_plugin_*.desktop
%{_kde4_servicesdir}/settings-im-and-voip.desktop
%{_kde4_servicetypesdir}/ktpaccountskcminternal-accountuiplugin.desktop
%{_kde4_sharedir}/telepathy/profiles/*.profile
%doc COPYING
%changelog
* Tue Oct 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
- update to 0.8.1
* Sun Oct 07 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.5.1-1mamba
- update to 0.5.1
* Tue Aug 28 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.5.0-1mamba
- update to 0.5.0
* Fri Jul 27 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.4.1-1mamba
- update to 0.4.1
* Wed Jun 20 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.4.0-1mamba
- update to 0.4.0
* Wed Apr 11 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.3.1-2mamba
- requires telepathy-salut and telepathy-gabble
* Sat Apr 07 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.3.1-1mamba
- package created by autospec