diff --git a/README.md b/README.md index a9d6d68..71f0179 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ktp-contact-runner +KDE Telepathy krunner plugin. + diff --git a/ktp-contact-runner.spec b/ktp-contact-runner.spec new file mode 100644 index 0000000..6033f9d --- /dev/null +++ b/ktp-contact-runner.spec @@ -0,0 +1,73 @@ +Name: ktp-contact-runner +Version: 0.8.1 +Release: 1mamba +Summary: KDE Telepathy krunner plugin +Group: Graphical Desktop/Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.kde.org +Source: http://download.kde.org/stable/kde-telepathy/%{version}/src/ktp-contact-runner-%{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: automoc4 +BuildRequires: cmake +Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +KDE Telepathy krunner plugin. + +%debug_package + +%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/krunner_ktp_contacts.so +%{_kde4_servicesdir}/plasma-runner-ktp-contact.desktop +%doc COPYING + +%changelog +* Tue Oct 28 2014 Silvan Calarco 0.8.1-1mamba +- update to 0.8.1 + +* Sun Oct 07 2012 Davide Madrisan 0.5.1-1mamba +- update to 0.5.1 + +* Wed Aug 29 2012 Davide Madrisan 0.5.0-1mamba +- package created by autospec