automatic version update by autodist [release 16.08.1-1mamba;Tue Oct 04 2016]

This commit is contained in:
Automatic Build System 2024-01-06 02:24:21 +01:00
parent 690d2ec012
commit 4f91e831b3

View File

@ -1,5 +1,5 @@
Name: kolourpaint
Version: 4.14.3
Version: 16.08.1
Release: 1mamba
Summary: A simple pixel oriented image drawing program
Group: Graphical Desktop/Applications/Graphics
@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Source: http://download.kde.org/stable/%{version}/src/kolourpaint-%{version}.tar.xz
Source: http://download.kde.org/stable/applications/%{version}/src/kolourpaint-%{version}.tar.xz
License: GPL
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN
@ -19,7 +19,7 @@ BuildRequires: libqimageblitz-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: kde-workspace
#Requires: kde-workspace
Requires: ksaneplugin
Requires: kipi-plugins
Provides: libkolourpaint = %{?epoch:%epoch:}%{version}-%{release}
@ -36,53 +36,58 @@ Kolourpaint is a simple pixel oriented image drawing program.
%setup -q
%build
%cmake_kde4 -d build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
rm -f %{buildroot}%{_kde4_libdir}/libkolourpaint_lgpl.so
rm -f %{buildroot}%{_kde5_libdir}/libkolourpaint_lgpl.so
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
exit 0
%posttrans
/sbin/ldconfig
update-desktop-database -q &>/dev/null
update-mime-database %{_kde4_mimedir} &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
update-mime-database %{_kde5_mimedir} &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null
update-mime-database %{_kde4_mimedir} &>/dev/null
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
update-mime-database %{_kde5_mimedir} &>/dev/null
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
fi
exit 0
%files
%defattr(-,root,root)
%{_kde4_bindir}/kolourpaint
%{_kde4_datadir}/kolourpaint
%doc %lang(en) %{_kde4_htmldir}/en/kolourpaint
%{_kde4_icondir}/hicolor/*/apps/kolourpaint.png
%{_kde4_icondir}/hicolor/scalable/apps/kolourpaint.svgz
%{_kde4_libdir}/libkolourpaint_lgpl.so.*
%{_kde4_sharedir}/appdata/kolourpaint.appdata.xml
%{_kde4_xdgappsdir}/kolourpaint.desktop
%doc AUTHORS BUGS COPYING COPYING.DOC COPYING.LIB ChangeLog NEWS README
%{_kde5_bindir}/kolourpaint
%{_kde5_datadir}/kolourpaint
%doc %lang(en) %{_kde5_htmldir}/en/kolourpaint
%{_kde5_icondir}/hicolor/*/apps/kolourpaint.png
%{_kde5_icondir}/hicolor/scalable/apps/kolourpaint.svgz
%{_kde5_libdir}/libkolourpaint_lgpl.so.*
%{_datadir}/kxmlgui5/kolourpaint/kolourpaintui.rc
%{_datadir}/metainfo/kolourpaint.appdata.xml
%{_kde5_xdgappsdir}/kolourpaint.desktop
%doc AUTHORS COPYING COPYING.DOC COPYING.LIB
#BUGS ChangeLog NEWS README
%changelog
* Tue Oct 04 2016 Automatic Build System <autodist@mambasoft.it> 16.08.1-1mamba
- automatic version update by autodist
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
- automatic version update by autodist