kfloppy/kfloppy.spec

300 lines
11 KiB
RPMSpec
Raw Permalink Normal View History

Name: kfloppy
Version: 17.08.0
Release: 1mamba
Summary: A tool to format floppy disks
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Source: http://download.kde.org/stable/applications/%{version}/src/kfloppy-%{version}.tar.xz
License: GPL
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN
BuildRequires: coreutils
BuildRequires: dosfstools
BuildRequires: e2fsprogs
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: mtools
BuildRequires: util-linux
## AUTOBUILDREQ-END
#Requires: kde-workspace
# dosfstools: /sbin/mkdosfs, /sbin/mkfs.msdos, /sbin/mkfs.vfat
Requires: dosfstools
# e2fsprogs: /sbin/mke2fs
Requires: e2fsprogs
Requires: mtools >= 3.9.10
#Requires: reiserfsprogs
# util-linux: /usr/bin/fdformat
Requires: util-linux
# coreutils: /bin/dd
Requires: coreutils
Provides: kfloppy4
Obsoletes: kfloppy4
Obsoletes: kdeutils
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Kfloppy allows to format a floppy disk.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
exit 0
%posttrans
update-desktop-database -q >/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 %{_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)
%{_kde5_bindir}/%{name}
%{_kde5_xdgappsdir}/org.kde.kfloppy.desktop
%{_kde5_icondir}/hicolor/*/apps/%{name}.png
%{_sysconfdir}/xdg/kfloppy.categories
%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/kfloppy.mo
%lang(ast) %{_datadir}/locale/ast/LC_MESSAGES/kfloppy.mo
%lang(bg) %{_datadir}/locale/bg/LC_MESSAGES/kfloppy.mo
%lang(bs) %{_datadir}/locale/bs/LC_MESSAGES/kfloppy.mo
%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/kfloppy.mo
%lang(ca@valencia) %{_datadir}/locale/ca@valencia/LC_MESSAGES/kfloppy.mo
%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/kfloppy.mo
%lang(da) %{_datadir}/locale/da/LC_MESSAGES/kfloppy.mo
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/kfloppy.mo
%lang(el) %{_datadir}/locale/el/LC_MESSAGES/kfloppy.mo
%lang(en) %{_datadir}/locale/en_GB/LC_MESSAGES/kfloppy.mo
%lang(eo) %{_datadir}/locale/eo/LC_MESSAGES/kfloppy.mo
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/kfloppy.mo
%lang(et) %{_datadir}/locale/et/LC_MESSAGES/kfloppy.mo
%lang(eu) %{_datadir}/locale/eu/LC_MESSAGES/kfloppy.mo
%lang(fa) %{_datadir}/locale/fa/LC_MESSAGES/kfloppy.mo
%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/kfloppy.mo
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/kfloppy.mo
%lang(ga) %{_datadir}/locale/ga/LC_MESSAGES/kfloppy.mo
%lang(gl) %{_datadir}/locale/gl/LC_MESSAGES/kfloppy.mo
%lang(he) %{_datadir}/locale/he/LC_MESSAGES/kfloppy.mo
%lang(hi) %{_datadir}/locale/hi/LC_MESSAGES/kfloppy.mo
%lang(hr) %{_datadir}/locale/hr/LC_MESSAGES/kfloppy.mo
%lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/kfloppy.mo
%lang(ia) %{_datadir}/locale/ia/LC_MESSAGES/kfloppy.mo
%lang(id) %{_datadir}/locale/id/LC_MESSAGES/kfloppy.mo
%lang(is) %{_datadir}/locale/is/LC_MESSAGES/kfloppy.mo
%lang(it) %{_datadir}/locale/it/LC_MESSAGES/kfloppy.mo
%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/kfloppy.mo
%lang(kk) %{_datadir}/locale/kk/LC_MESSAGES/kfloppy.mo
%lang(km) %{_datadir}/locale/km/LC_MESSAGES/kfloppy.mo
%lang(ko) %{_datadir}/locale/ko/LC_MESSAGES/kfloppy.mo
%lang(lt) %{_datadir}/locale/lt/LC_MESSAGES/kfloppy.mo
%lang(lv) %{_datadir}/locale/lv/LC_MESSAGES/kfloppy.mo
%lang(mr) %{_datadir}/locale/mr/LC_MESSAGES/kfloppy.mo
%lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/kfloppy.mo
%lang(nds) %{_datadir}/locale/nds/LC_MESSAGES/kfloppy.mo
%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/kfloppy.mo
%lang(nn) %{_datadir}/locale/nn/LC_MESSAGES/kfloppy.mo
%lang(pa) %{_datadir}/locale/pa/LC_MESSAGES/kfloppy.mo
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/kfloppy.mo
%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/kfloppy.mo
%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/kfloppy.mo
%lang(ro) %{_datadir}/locale/ro/LC_MESSAGES/kfloppy.mo
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/kfloppy.mo
%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/kfloppy.mo
%lang(sl) %{_datadir}/locale/sl/LC_MESSAGES/kfloppy.mo
%lang(sr) %{_datadir}/locale/sr/LC_MESSAGES/kfloppy.mo
%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/kfloppy.mo
%lang(tr) %{_datadir}/locale/tr/LC_MESSAGES/kfloppy.mo
%lang(ug) %{_datadir}/locale/ug/LC_MESSAGES/kfloppy.mo
%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/kfloppy.mo
%lang(wa) %{_datadir}/locale/wa/LC_MESSAGES/kfloppy.mo
%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/kfloppy.mo
%lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/kfloppy.mo
%{_datadir}/metainfo/org.kde.kfloppy.appdata.xml
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
%doc %lang(de) %{_kde5_htmldir}/de/%{name}
%doc %lang(es) %{_kde5_htmldir}/es/%{name}
%doc %lang(et) %{_kde5_htmldir}/et/%{name}
%doc %lang(fr) %{_kde5_htmldir}/fr/%{name}
%doc %lang(gl) %{_kde5_htmldir}/gl/%{name}
%doc %lang(it) %{_kde5_htmldir}/it/%{name}
%doc %lang(nl) %{_kde5_htmldir}/nl/%{name}
%doc %lang(pt) %{_kde5_htmldir}/pt/%{name}
%doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR/%{name}
%doc %lang(ru) %{_kde5_htmldir}/ru/%{name}
%doc %lang(sr) %{_kde5_htmldir}/sr/%{name}
%doc %lang(sv) %{_kde5_htmldir}/sv/%{name}
%doc %lang(uk) %{_kde5_htmldir}/uk/%{name}
%doc COPYING
%changelog
* Tue Aug 22 2017 Automatic Build System <autodist@mambasoft.it> 17.08.0-1mamba
- automatic version update by autodist
* Fri Jul 14 2017 Automatic Build System <autodist@mambasoft.it> 17.04.3-1mamba
- automatic version update by autodist
* Thu Jul 13 2017 Automatic Build System <autodist@mambasoft.it> 17.04.2-1mamba
- automatic version update by autodist
* Fri Mar 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.3-1mamba
- automatic version update by autodist
* Fri Feb 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.2-1mamba
- automatic version update by autodist
* Fri Jan 13 2017 Automatic Build System <autodist@mambasoft.it> 16.12.1-1mamba
- automatic version update by autodist
* Sat Dec 17 2016 Automatic Build System <autodist@mambasoft.it> 16.12.0-1mamba
- automatic version update by autodist
* Fri Nov 11 2016 Automatic Build System <autodist@mambasoft.it> 16.08.3-1mamba
- automatic version update by autodist
* 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
* Fri Aug 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.08.0-1mamba
- automatic version update by autodist
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 16.04.3-1mamba
- automatic version update by autodist
* Wed Jun 15 2016 Automatic Build System <autodist@mambasoft.it> 16.04.2-1mamba
- automatic version update by autodist
* Wed May 11 2016 Automatic Build System <autodist@mambasoft.it> 16.04.1-1mamba
- automatic version update by autodist
* Sun May 01 2016 Automatic Build System <autodist@mambasoft.it> 16.04.0-1mamba
- automatic version update by autodist
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
- automatic version update by autodist
* Mon Oct 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.2-1mamba
- automatic version update by autodist
* Sun Sep 28 2014 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
- automatic version update by autodist
* Thu Aug 21 2014 Automatic Build System <autodist@mambasoft.it> 4.14.0-1mamba
- automatic version update by autodist
* Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 4.13.3-1mamba
- automatic version update by autodist
* Fri Jun 13 2014 Automatic Build System <autodist@mambasoft.it> 4.13.2-1mamba
- automatic version update by autodist
* Mon May 19 2014 Automatic Build System <autodist@mambasoft.it> 4.13.1-1mamba
- automatic version update by autodist
* Thu Apr 17 2014 Automatic Build System <autodist@mambasoft.it> 4.13.0-1mamba
- automatic version update by autodist
* Thu Apr 03 2014 Automatic Build System <autodist@mambasoft.it> 4.12.4-1mamba
- automatic version update by autodist
* Wed Mar 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.3-1mamba
- automatic version update by autodist
* Wed Feb 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.2-1mamba
- automatic version update by autodist
* Tue Jan 14 2014 Automatic Build System <autodist@mambasoft.it> 4.12.1-1mamba
- automatic version update by autodist
* Thu Dec 19 2013 Automatic Build System <autodist@mambasoft.it> 4.12.0-1mamba
- automatic version update by autodist
* Thu Dec 05 2013 Automatic Build System <autodist@mambasoft.it> 4.11.4-1mamba
- automatic version update by autodist
* Wed Nov 06 2013 Automatic Build System <autodist@mambasoft.it> 4.11.3-1mamba
- automatic version update by autodist
* Wed Oct 02 2013 Automatic Build System <autodist@mambasoft.it> 4.11.2-1mamba
- automatic version update by autodist
* Wed Sep 04 2013 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
- automatic version update by autodist
* Wed Aug 14 2013 Automatic Build System <autodist@mambasoft.it> 4.11.0-1mamba
- automatic version update by autodist
* Tue Jul 02 2013 Automatic Build System <autodist@mambasoft.it> 4.10.5-1mamba
- automatic version update by autodist
* Wed Jun 05 2013 Automatic Build System <autodist@mambasoft.it> 4.10.4-1mamba
- automatic version update by autodist
* Tue May 07 2013 Automatic Build System <autodist@mambasoft.it> 4.10.3-1mamba
- automatic version update by autodist
* Wed Apr 03 2013 Automatic Build System <autodist@mambasoft.it> 4.10.2-1mamba
- automatic version update by autodist
* Tue Mar 05 2013 Automatic Build System <autodist@mambasoft.it> 4.10.1-1mamba
- automatic version update by autodist
* Wed Feb 13 2013 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
- automatic version update by autodist
* Thu Jan 03 2013 Automatic Build System <autodist@mambasoft.it> 4.9.5-1mamba
- automatic version update by autodist
* Wed Dec 05 2012 Automatic Build System <autodist@mambasoft.it> 4.9.4-1mamba
- automatic version update by autodist
* Thu Nov 08 2012 Automatic Build System <autodist@mambasoft.it> 4.9.3-1mamba
- automatic version update by autodist
* Thu Oct 04 2012 Automatic Build System <autodist@mambasoft.it> 4.9.2-1mamba
- automatic version update by autodist
* Thu Sep 06 2012 Automatic Build System <autodist@mambasoft.it> 4.9.1-1mamba
- automatic version update by autodist
* Sat Aug 18 2012 Automatic Build System <autodist@mambasoft.it> 4.9.0-1mamba
- automatic version update by autodist
* Sun Jun 10 2012 Automatic Build System <autodist@mambasoft.it> 4.8.4-1mamba
- automatic version update by autodist
* Sat May 05 2012 Automatic Build System <autodist@mambasoft.it> 4.8.3-1mamba
- automatic version update by autodist
* Tue Apr 17 2012 Davide Madrisan <davide.madrisan@gmail.com> 4.8.2-1mamba
- package created by autospec