automatic version update by autodist [release 16.08.2-1mamba;Sun Oct 16 2016]
This commit is contained in:
parent
c3cb0e71c7
commit
2c319ae70e
31
kfloppy.spec
31
kfloppy.spec
@ -1,5 +1,5 @@
|
||||
Name: kfloppy
|
||||
Version: 16.08.1
|
||||
Version: 16.08.2
|
||||
Release: 1mamba
|
||||
Summary: A tool to format floppy disks
|
||||
Group: Graphical Desktop/Applications/Utilities
|
||||
@ -15,10 +15,8 @@ BuildRequires: coreutils
|
||||
BuildRequires: dosfstools
|
||||
BuildRequires: e2fsprogs
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kdelibs-devel
|
||||
BuildRequires: kde-workspace-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: mtools
|
||||
BuildRequires: util-linux
|
||||
@ -48,7 +46,7 @@ Kfloppy allows to format a floppy disk.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -59,33 +57,36 @@ Kfloppy allows to format a floppy disk.
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
exit 0
|
||||
|
||||
%posttrans
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
||||
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_bindir}/%{name}
|
||||
%{_kde4_xdgappsdir}/org.kde.kfloppy.desktop
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/%{name}
|
||||
%{_kde4_icondir}/hicolor/*/apps/%{name}.png
|
||||
%{_kde5_bindir}/%{name}
|
||||
%{_kde5_xdgappsdir}/org.kde.kfloppy.desktop
|
||||
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
|
||||
%{_kde5_icondir}/hicolor/*/apps/%{name}.png
|
||||
%doc COPYING
|
||||
|
||||
%changelog
|
||||
* Sun Oct 16 2016 Automatic Build System <autodist@mambasoft.it> 16.08.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Sep 09 2016 Automatic Build System <autodist@mambasoft.it> 16.08.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user