automatic version update by autodist [release 16.08.0-1mamba;Sat Aug 27 2016]
This commit is contained in:
parent
c1db9cd0df
commit
fdf63ba0e5
@ -1,5 +1,5 @@
|
||||
Name: kcolorchooser
|
||||
Version: 16.04.3
|
||||
Version: 16.08.0
|
||||
Release: 1mamba
|
||||
Summary: A color chooser application
|
||||
Group: Graphical Desktop/Applications/Graphics
|
||||
@ -32,7 +32,7 @@ Kcolorchooser is a color chooser application for KDE.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -44,33 +44,36 @@ Kcolorchooser is a color chooser application for KDE.
|
||||
|
||||
%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
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/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}/kcolorchooser
|
||||
%{_kde4_icondir}/hicolor/*/apps/kcolorchooser.png
|
||||
%{_kde4_xdgappsdir}/kcolorchooser.desktop
|
||||
%{_kde5_bindir}/kcolorchooser
|
||||
%{_kde5_icondir}/hicolor/*/apps/kcolorchooser.png
|
||||
%{_kde5_xdgappsdir}/org.kde.kcolorchooser.desktop
|
||||
%doc COPYING
|
||||
|
||||
%changelog
|
||||
* Sat Aug 27 2016 Automatic Build System <autodist@mambasoft.it> 16.08.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jul 12 2016 Automatic Build System <autodist@mambasoft.it> 16.04.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user