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 Name: choqok
Version: 1.5 Version: 1.6.0
Release: 1mamba Release: 1mamba
Summary: A Free/Open Source micro-blogging client for KDE Summary: A Free/Open Source micro-blogging client for KDE
Group: Graphical Desktop/Applications/Networking Group: Graphical Desktop/Applications/Networking
@ -7,7 +8,8 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://choqok.gnufolks.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 Patch0: choqok-1.1-dbus_servicesdir.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -64,7 +66,7 @@ This package contains static libraries and header files need for development.
%patch -p0 %patch -p0
%build %build
%cmake_kde4 -d build %cmake_kde5 -d build
%make %make
%install %install
@ -73,10 +75,10 @@ This package contains static libraries and header files need for development.
%find_lang %{name} %find_lang %{name}
for file in %{buildroot}{%{_kde4_libdir}/{kde4/*.so,*.so.*},%{_kde4_bindir}/choqok} #for file in %{buildroot}{%{_kde4_libdir}/{kde4/*.so,*.so.*},%{_kde4_bindir}/choqok}
do #do
chrpath --list $file && chrpath --delete $file || : # chrpath --list $file && chrpath --delete $file || :
done #done
%post -n lib%{name} -p /sbin/ldconfig %post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig
@ -86,35 +88,48 @@ done
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_bindir}/choqok %{_kde5_bindir}/choqok
%{_kde4_libdir}/kde4/*.so %{_kde5_servicetypesdir}/choqokplugin.desktop
%{_kde4_xdgappsdir}/choqok.desktop %{_kde5_servicetypesdir}/choqokshortenerplugin.desktop
%{_kde4_servicesdir}/*.desktop %{_kde5_servicetypesdir}/choqokuploaderplugin.desktop
%{_kde4_servicetypesdir}/*.desktop %{_datadir}/kxmlgui5/choqok/choqokui.rc
%{_kde4_datadir}/choqok* %{_datadir}/kxmlgui5/choqok_filter/filterui.rc
%{_kde4_sharedir}/appdata/choqok.appdata.xml %{_datadir}/kxmlgui5/choqok_nowlistening/nowlisteningui.rc
%{_kde4_sharedir}/config.kcfg/*.kcfg %{_datadir}/kxmlgui5/choqok_quickfilter/quickfilterui.rc
%{_kde4_icondir}/hicolor/*/apps/*.png %{_datadir}/kxmlgui5/choqok_searchaction/searchactionui.rc
%{_kde4_icondir}/hicolor/*/actions/*.png #%{_datadir}/kxmlgui5/konqchoqokplugin/konqchoqok.rc
%{_kde4_dbusservicesdir}/org.kde.choqok.service %{_datadir}/metainfo/org.kde.choqok.appdata.xml
%{_kde4_datadir}/khtml/kpartplugins/konqchoqok* %{_datadir}/applications/org.kde.choqok.desktop
#%{_kde4_datadir}/kwebkitpart/kpartplugins/konqchoqok* %{_datadir}/choqok/images/splash_screen.png
%{_kde4_servicesdir}/ServiceMenus/*.desktop %{_datadir}/cmake/modules/FindChoqok.cmake
%{_kde4_htmldir}/*/choqok %{_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} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_libdir}/*.so.* %{_kde5_libdir}/*.so.*
%{_libdir}/qt5/plugins/*.so
#%{_libdir}/qt5/plugins/kf5/parts/konqchoqokplugin.so
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_libdir}/*.so %dir %{_includedir}/choqok
%{_kde4_includedir}/choqok %{_includedir}/choqok/*
%{_kde4_datadir}/cmake/modules/*.cmake %{_kde5_libdir}/*.so
%doc changelog README TODO #%{_kde5_datadir}/cmake/modules/*.cmake
#%doc changelog README TODO
%changelog %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 * Mon Jan 26 2015 Automatic Build System <autodist@mambasoft.it> 1.5-1mamba
- automatic version update by autodist - automatic version update by autodist