ktp-desktop-applets/ktp-desktop-applets.spec

125 lines
4.6 KiB
RPMSpec

Name: ktp-desktop-applets
Version: 0.9.0
Release: 1mamba
Summary: KDE Telepathy presence applet
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-desktop-applets-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: ktp-common-internals-devel
BuildRequires: libQtDeclarative
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: telepathy-qt-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: ktp-contact-runner >= %{?epoch:%epoch:}%{version}
Requires: ktp-send-file >= %{?epoch:%epoch:}%{version}
Requires: ktp-kded-integration-module >= %{?epoch:%epoch:}%{version}
Requires: ktp-filetransfer-handler >= %{?epoch:%epoch:}%{version}
Requires: ktp-approver >= %{?epoch:%epoch:}%{version}
Requires: ktp-contact-list >= %{?epoch:%epoch:}%{version}
Requires: ktp-auth-handler >= %{?epoch:%epoch:}%{version}
Requires: ktp-call-ui >= %{?epoch:%epoch:}%{version}
Requires: ktp-common-internals >= %{?epoch:%epoch:}%{version}
Requires: ktp-accounts-kcm >= %{?epoch:%epoch:}%{version}
Provides: ktp-presence-applet
Obsoletes: ktp-presence-applet
Provides: ktp-contact-applet
Obsoletes: ktp-contact-applet
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
KDE Telepathy presence applet.
%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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%posttrans
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
exit 0
%postun
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
fi
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde4_libdir}/kde4/plasma_applet_ktp_presence.so
%{_kde4_libdir}/kde4/plasma_applet_ktp_contact.so
%{_kde4_datadir}/plasma-desktop/updates/50-renameKTpApplets.js
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-chat
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-chat/contents
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-chat/contents/config
%{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-chat/contents/config/main.xml
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-chat/contents/ui
%{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-chat/contents/ui/*.qml
%{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-chat/metadata.desktop
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contact
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contact/contents
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contact/contents/frames
%{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contact/contents/frames/*
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contact/contents/ui
%{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contact/contents/ui/*.qml
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contactlist
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contactlist/contents
%dir %{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contactlist/contents/ui
%{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contactlist/contents/ui/*
%{_kde4_datadir}/plasma/plasmoids/org.kde.ktp-contactlist/metadata.desktop
%{_kde4_servicesdir}/plasma-applet-ktp-chat.desktop
%{_kde4_servicesdir}/plasma-applet-ktp-contact.desktop
%{_kde4_servicesdir}/plasma-applet-ktp-contactlist.desktop
%{_kde4_servicesdir}/plasma-applet-ktp-presence.desktop
%doc COPYING
%changelog
* Wed Oct 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- automatic version update by autodist
* Wed Oct 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-2mamba
- added requirement for all other ktp modules except ktp-text-ui
* 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
* Thu Jun 21 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.4.0-1mamba
- update to 0.4.0
* Tue Apr 10 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.3.1-1mamba
- package created by autospec