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 01:17:08 +01:00
parent dd053d3681
commit 440bf3a36c

View File

@ -1,5 +1,5 @@
Name: kdf Name: kdf
Version: 4.14.3 Version: 16.08.1
Release: 1mamba Release: 1mamba
Summary: A graphical free disk space view Summary: A graphical free disk space view
Group: Graphical Desktop/Applications/Utilities Group: Graphical Desktop/Applications/Utilities
@ -7,22 +7,34 @@ 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/kdf-%{version}.tar.xz Source: http://download.kde.org/stable/applications/%{version}/src/kdf-%{version}.tar.xz
License: GPL License: GPL
BuildRequires: cmake BuildRequires: cmake
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: kde-workspace-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libqt4-devel BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknotifications-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Provides: kdf4 = %{?epoch:%epoch:}%{version}-%{release} Provides: kdf4 = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: kdf4 Obsoletes: kdf4
Provides: kwikdisk Provides: kwikdisk
Obsoletes: kwikdisk Obsoletes: kwikdisk
Requires: kde-workspace #Requires: kde-workspace
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -34,7 +46,7 @@ Like "df", a graphical free disk space viewer.
%setup -q %setup -q
%build %build
%cmake_kde4 -d build %cmake_kde5 -d build
%make %make
%install %install
@ -45,45 +57,50 @@ Like "df", a graphical free disk space viewer.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1 touch --no-create %{_kde5_icondir}/oxygen >/dev/null 2>&1
exit 0 exit 0
%posttrans %posttrans
update-desktop-database -q >/dev/null 2>&1 update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/oxygen >/dev/null 2>&1 gtk-update-icon-cache %{_kde5_icondir}/oxygen >/dev/null 2>&1
exit 0 exit 0
%postun %postun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1 update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1 touch --no-create %{_kde5_icondir}/oxygen >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/oxygen >/dev/null 2>&1 gtk-update-icon-cache %{_kde5_icondir}/oxygen >/dev/null 2>&1
fi fi
exit 0 exit 0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_bindir}/%{name} %{_kde5_bindir}/%{name}
%{_kde4_bindir}/kwikdisk %{_kde5_bindir}/kwikdisk
%{_kde4_libdir}/kde4/kcm_%{name}.so %{_libdir}/libkdfprivate.so.*
%{_kde4_xdgappsdir}/kdf.desktop %{_libdir}/qt5/plugins/libkcm_kdf.so
%{_kde4_xdgappsdir}/kwikdisk.desktop %{_datadir}/applications/org.kde.kdf.desktop
%{_kde4_datadir}/%{name} %{_datadir}/applications/org.kde.kwikdisk.desktop
%doc %lang(en) %{_kde4_htmldir}/en/kcontrol/blockdevices %{_datadir}/icons/hicolor/*/apps/kcmdf.png
%doc %lang(en) %{_kde4_htmldir}/en/%{name} %{_datadir}/kxmlgui5/kdf/kdfui.rc
%{_kde4_icondir}/hicolor/*/apps/%{name}.png %doc %lang(en) %{_kde5_htmldir}/en/kcontrol/blockdevices
%{_kde4_icondir}/hicolor/*/apps/kwikdisk.png %doc %lang(en) %{_kde5_htmldir}/en/%{name}
%{_kde4_icondir}/oxygen/*/apps/kcmdf.png %{_kde5_icondir}/hicolor/*/apps/%{name}.png
%{_kde4_servicesdir}/kcmdf.desktop %{_kde5_icondir}/hicolor/*/apps/kwikdisk.png
#%{_kde5_icondir}/oxygen/*/apps/kcmdf.png
%{_kde5_servicesdir}/kcmdf.desktop
%doc COPYING %doc COPYING
%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