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
|
Name: kfloppy
|
||||||
Version: 16.08.1
|
Version: 16.08.2
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A tool to format floppy disks
|
Summary: A tool to format floppy disks
|
||||||
Group: Graphical Desktop/Applications/Utilities
|
Group: Graphical Desktop/Applications/Utilities
|
||||||
@ -15,10 +15,8 @@ BuildRequires: coreutils
|
|||||||
BuildRequires: dosfstools
|
BuildRequires: dosfstools
|
||||||
BuildRequires: e2fsprogs
|
BuildRequires: e2fsprogs
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: kdelibs-devel
|
|
||||||
BuildRequires: kde-workspace-devel
|
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libqt5-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: mtools
|
BuildRequires: mtools
|
||||||
BuildRequires: util-linux
|
BuildRequires: util-linux
|
||||||
@ -48,7 +46,7 @@ Kfloppy allows to format a floppy disk.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde4 -d build
|
%cmake_kde5 -d build
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -59,33 +57,36 @@ Kfloppy allows to format a floppy disk.
|
|||||||
[ "%{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
|
||||||
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
|
||||||
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
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_kde4_bindir}/%{name}
|
%{_kde5_bindir}/%{name}
|
||||||
%{_kde4_xdgappsdir}/org.kde.kfloppy.desktop
|
%{_kde5_xdgappsdir}/org.kde.kfloppy.desktop
|
||||||
%doc %lang(en) %{_kde4_htmldir}/en/%{name}
|
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
|
||||||
%{_kde4_icondir}/hicolor/*/apps/%{name}.png
|
%{_kde5_icondir}/hicolor/*/apps/%{name}.png
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Sep 09 2016 Automatic Build System <autodist@mambasoft.it> 16.08.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user