update to 1.6.0 [release 1.6.0-1mamba;Thu Dec 08 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 21:13:05 +01:00
parent 038c26ae58
commit 764fe45a1e

View File

@ -1,5 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: choqok
Version: 1.5
Version: 1.6.0
Release: 1mamba
Summary: A Free/Open Source micro-blogging client for KDE
Group: Graphical Desktop/Applications/Networking
@ -7,7 +8,8 @@ Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://choqok.gnufolks.org
Source: http://downloads.sourceforge.net/project/choqok/Choqok/choqok-%{version}.tar.xz
#Source: http://downloads.sourceforge.net/project/choqok/Choqok/choqok-%{version}.tar.xz
Source: http://download.kde.org/stable/choqok/%{majver}/src/choqok-%{version}.tar.xz
Patch0: choqok-1.1-dbus_servicesdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
@ -64,7 +66,7 @@ This package contains static libraries and header files need for development.
%patch -p0
%build
%cmake_kde4 -d build
%cmake_kde5 -d build
%make
%install
@ -73,10 +75,10 @@ This package contains static libraries and header files need for development.
%find_lang %{name}
for file in %{buildroot}{%{_kde4_libdir}/{kde4/*.so,*.so.*},%{_kde4_bindir}/choqok}
do
chrpath --list $file && chrpath --delete $file || :
done
#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
@ -86,35 +88,48 @@ done
%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}/appdata/choqok.appdata.xml
%{_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
%{_kde5_bindir}/choqok
%{_kde5_servicetypesdir}/choqokplugin.desktop
%{_kde5_servicetypesdir}/choqokshortenerplugin.desktop
%{_kde5_servicetypesdir}/choqokuploaderplugin.desktop
%{_datadir}/kxmlgui5/choqok/choqokui.rc
%{_datadir}/kxmlgui5/choqok_filter/filterui.rc
%{_datadir}/kxmlgui5/choqok_nowlistening/nowlisteningui.rc
%{_datadir}/kxmlgui5/choqok_quickfilter/quickfilterui.rc
%{_datadir}/kxmlgui5/choqok_searchaction/searchactionui.rc
#%{_datadir}/kxmlgui5/konqchoqokplugin/konqchoqok.rc
%{_datadir}/metainfo/org.kde.choqok.appdata.xml
%{_datadir}/applications/org.kde.choqok.desktop
%{_datadir}/choqok/images/splash_screen.png
%{_datadir}/cmake/modules/FindChoqok.cmake
%{_datadir}/icons/hicolor/scalable/apps/choqok*.svgz
%{_datadir}/knotifications5/choqok/choqok.notifyrc
%{_datadir}/kservices5/choqok_*.desktop
%{_kde5_sharedir}/config.kcfg/*.kcfg
%{_kde5_icondir}/hicolor/*/apps/*.png
%{_kde5_icondir}/hicolor/*/actions/*.png
%{_kde5_dbusservicesdir}/org.kde.choqok.service
%{_kde5_htmldir}/*/choqok
%files -n lib%{name}
%defattr(-,root,root)
%{_kde4_libdir}/*.so.*
%{_kde5_libdir}/*.so.*
%{_libdir}/qt5/plugins/*.so
#%{_libdir}/qt5/plugins/kf5/parts/konqchoqokplugin.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
%dir %{_includedir}/choqok
%{_includedir}/choqok/*
%{_kde5_libdir}/*.so
#%{_kde5_datadir}/cmake/modules/*.cmake
#%doc changelog README TODO
%changelog
* Thu Dec 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1mamba
- update to 1.6.0
* Mon Jan 26 2015 Automatic Build System <autodist@mambasoft.it> 1.5-1mamba
- automatic version update by autodist