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