diff --git a/README.md b/README.md index 716803c..068ca47 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # choqok +Choqok is a KDE micro-blogging client. +Currently supports Twitter.com and Identi.ca services. +A quick and efficient client for KDE 4 Desktops. +It has a System tray Icon, and use notifications to notify user about updates, and fair configurable. + diff --git a/choqok-1.1-dbus_servicesdir.patch b/choqok-1.1-dbus_servicesdir.patch new file mode 100644 index 0000000..412b92f --- /dev/null +++ b/choqok-1.1-dbus_servicesdir.patch @@ -0,0 +1,10 @@ +--- cmake/modules/DBusMacros.cmake.dbus 2010-08-20 16:26:14.000000000 +0200 ++++ cmake/modules/DBusMacros.cmake 2010-08-20 16:27:01.000000000 +0200 +@@ -26,6 +26,6 @@ + string(REGEX REPLACE "\\.service.*$" ".service" _output_file ${_i}) + set(_target ${CMAKE_CURRENT_BINARY_DIR}/${_output_file}) + configure_file(${_service_file} ${_target}) +- install(FILES ${_target} DESTINATION ${DATA_INSTALL_DIR}/dbus-1/services) ++ install(FILES ${_target} DESTINATION ${DBUS_SERVICES_INSTALL_DIR}) + endforeach (_i ${ARGN}) + endmacro(dbus_add_activation_service _sources) diff --git a/choqok.spec b/choqok.spec new file mode 100644 index 0000000..b029284 --- /dev/null +++ b/choqok.spec @@ -0,0 +1,130 @@ +Name: choqok +Version: 1.4 +Release: 1mamba +Summary: A Free/Open Source micro-blogging client for KDE +Group: Graphical Desktop/Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://choqok.gnufolks.org +Source: http://downloads.sourceforge.net/project/choqok/Choqok/choqok-%{version}.tar.xz +Patch0: choqok-1.1-dbus_servicesdir.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: kdelibs-devel +BuildRequires: libattica-devel +BuildRequires: libgcc +BuildRequires: libindicate-qt-devel +BuildRequires: libphonon-devel +BuildRequires: libqjson-devel +BuildRequires: libqoauth-devel +BuildRequires: libqt4-devel +BuildRequires: libsoprano-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: chrpath +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Choqok is a KDE micro-blogging client. +Currently supports Twitter.com and Identi.ca services. +A quick and efficient client for KDE 4 Desktops. +It has a System tray Icon, and use notifications to notify user about updates, and fair configurable. + +%package -n lib%{name} +Group: System/Libraries +Summary: Library for using Choqok + +%description -n lib%{name} +Choqok is a KDE micro-blogging client. +Currently supports Twitter.com and Identi.ca services. +A quick and efficient client for KDE 4 Desktops. +It has a System tray Icon, and use notifications to notify user about updates, and fair configurable. + +This package contains shared libraries needed for Choqok. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Static libraries and headers for Choqok +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +Choqok is a KDE micro-blogging client. +Currently supports Twitter.com and Identi.ca services. +A quick and efficient client for KDE 4 Desktops. +It has a System tray Icon, and use notifications to notify user about updates, and fair configurable. + +This package contains static libraries and header files need for development. + +%prep +%setup -q +%patch -p0 + +%build +%cmake_kde4 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name} + +for file in %{buildroot}{%{_kde4_libdir}/{kde4/*.so,*.so.*},%{_kde4_bindir}/choqok} +do + chrpath --list $file && chrpath --delete $file || : +done + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_kde4_bindir}/choqok +%{_kde4_libdir}/kde4/*.so +%{_kde4_xdgappsdir}/choqok.desktop +%{_kde4_servicesdir}/*.desktop +%{_kde4_servicetypesdir}/*.desktop +%{_kde4_datadir}/choqok* +%{_kde4_sharedir}/config.kcfg/*.kcfg +%{_kde4_icondir}/hicolor/*/apps/*.png +%{_kde4_icondir}/hicolor/*/actions/*.png +%{_kde4_dbusservicesdir}/org.kde.choqok.service +%{_kde4_datadir}/khtml/kpartplugins/konqchoqok* +#%{_kde4_datadir}/kwebkitpart/kpartplugins/konqchoqok* +%{_kde4_servicesdir}/ServiceMenus/*.desktop +%{_kde4_htmldir}/*/choqok + +%files -n lib%{name} +%defattr(-,root,root) +%{_kde4_libdir}/*.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_kde4_libdir}/*.so +%{_kde4_includedir}/choqok +%{_kde4_datadir}/cmake/modules/*.cmake +%doc changelog README TODO + +%changelog +* Fri Sep 06 2013 Automatic Build System 1.4-1mamba +- update to 1.4 + +* Wed Aug 22 2012 Silvan Calarco 1.3-2mamba +- rebuilt with libattica 0.4 + +* Wed Mar 28 2012 Silvan Calarco 1.3-1mamba +- update to 1.3 + +* Mon Apr 04 2011 Stefano Cotta Ramusino 1.1-1mamba +- update to 1.1 + +* Thu Mar 25 2010 Stefano Cotta Ramusino 0.9.55-1mamba +- package created by autospec