Package altlinux-mime-defaults: Specfile

#def_without N
Name: altlinux-mime-defaults
Version: 0.444
Release: alt1

Summary: System-wide MIME preferences.
License: ALT-Public-Domain
Group: Graphical desktop/Other

URL: http://altlinux.org/
Source0: mimeapps.list
Source1: defaults-GNOME.list
Source2: defaults-MATE.list
Source3: mimeapps-KDE.list
#SourceN: mimeapps-N.list
Packager: Igor Vlasenko <viy@altlinux.org>

BuildArch: noarch

%description
System-wide MIME preferences.

%prep

%build

%install
install -D -m 644 %{SOURCE0} %buildroot%_desktopdir/mimeapps.list
install -D -m 644 %{S:1} %buildroot%_datadir/gnome/applications/defaults.list
install -D -m 644 %{S:2} %buildroot%_datadir/mate/applications/defaults.list
install -D -m 644 %{S:3} %buildroot%_datadir/applications/KDE-mimeapps.list
mkdir -p  %buildroot/%_datadir/kf5/applications/
ln -s ../../applications/KDE-mimeapps.list %buildroot/%_datadir/kf5/applications/mimeapps.list
%if_with N
%endif

touch %buildroot%_desktopdir/defaults.list
mkdir -p %buildroot%_sysconfdir/xdg/
touch %buildroot%_sysconfdir/xdg/mimeapps.list

%files
#%doc README
%_desktopdir/mimeapps.list
%_desktopdir/defaults.list
%_sysconfdir/xdg/mimeapps.list
%_desktopdir/KDE-mimeapps.list
%_datadir/kf5/applications/mimeapps.list
%_datadir/gnome/applications/defaults.list
%_datadir/mate/applications/defaults.list
%if_with N
%endif

%changelog
* Sat Feb 17 2024 Igor Vlasenko <viy@altlinux.org> 0.444-alt1
- updated mime defaults

* Sat Dec 02 2023 Igor Vlasenko <viy@altlinux.org> 0.443-alt1
- updated mime defaults

* Wed Nov 22 2023 Igor Vlasenko <viy@altlinux.org> 0.442-alt1
- updated mime defaults (due to KDE kf5-*.desktop prefix migration)

* Sat Nov 11 2023 Igor Vlasenko <viy@altlinux.org> 0.441-alt1
- updated mime defaults (due to KDE kf5-*.desktop prefix migration)
- added support for a list of new desktop names

* Thu Nov 02 2023 Igor Vlasenko <viy@altlinux.org> 0.440-alt1
- updated mime defaults (due to KDE kf5-*.desktop prefix migration)
- added %_desktopdir/KDE-mimeapps.list

* Sun Oct 29 2023 Igor Vlasenko <viy@altlinux.org> 0.439-alt1
- updated mime defaults
- added empty %_sysconfdir/xdg/mimeapps.list (closes: #48178)

* Mon Oct 17 2022 Igor Vlasenko <viy@altlinux.org> 0.438-alt1
- updated mime defaults
- moved up thunderbird for mail (closes: #44040)

* Fri May 13 2022 Igor Vlasenko <viy@altlinux.org> 0.437-alt1
- updated mime defaults

* Fri Jun 18 2021 Igor Vlasenko <viy@altlinux.org> 0.436-alt1
- updated mime defaults

* Wed Jun 26 2019 Igor Vlasenko <viy@altlinux.ru> 0.435-alt1
- updated mime defaults
- fixed eom image/* (closes: #36934)

* Thu Jun 13 2019 Igor Vlasenko <viy@altlinux.ru> 0.434-alt1
- updated mime defaults
- bumped document viewers priority for tiff (closes: #36894)

* Wed Nov 07 2018 Igor Vlasenko <viy@altlinux.ru> 0.433-alt1
- updated mime defaults

* Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 0.432-alt1
- updated mime defaults for FALCON (closes: #34824)

* Tue Mar 20 2018 Igor Vlasenko <viy@altlinux.ru> 0.431-alt1
- updated mime defaults for new GNOME

* Fri Mar 16 2018 Igor Vlasenko <viy@altlinux.ru> 0.43-alt1
- cleaned up deprecated handlers

* Thu Mar 15 2018 Igor Vlasenko <viy@altlinux.ru> 0.42-alt1
- updated mime defaults

* Thu May 26 2016 Igor Vlasenko <viy@altlinux.ru> 0.41-alt1
- drop kmailservice* as scheme-handler/mailto (closes: #32117)

* Thu May 26 2016 Igor Vlasenko <viy@altlinux.ru> 0.40-alt1
- KF5 updates (ktorrent, k3b,...)

* Tue Apr 19 2016 Igor Vlasenko <viy@altlinux.ru> 0.39-alt1
- updated audio priorities according to community@ poll

* Sun Apr 17 2016 Igor Vlasenko <viy@altlinux.ru> 0.38-alt1
- newmoon and other updates

* Tue Mar 22 2016 Igor Vlasenko <viy@altlinux.ru> 0.37-alt1
- support for recently added kf5 apps

* Tue Mar 15 2016 Igor Vlasenko <viy@altlinux.ru> 0.36-alt1
- added kf5 okular

* Sat Mar 12 2016 Igor Vlasenko <viy@altlinux.ru> 0.35-alt1
- proper KF5 support (closes: #31874)

* Fri Mar 11 2016 Igor Vlasenko <viy@altlinux.ru> 0.34-alt1
- initial KF5 support

* Thu Jan 21 2016 Igor Vlasenko <viy@altlinux.ru> 0.33-alt1
- updated priorities
- fixed bug with applicatons/* (closes: #31725)

* Fri Oct 30 2015 Igor Vlasenko <viy@altlinux.ru> 0.32-alt1
- switched to defaults.list for mate

* Fri Oct 30 2015 Igor Vlasenko <viy@altlinux.ru> 0.31-alt1
- support for MATE

* Thu Oct 29 2015 Igor Vlasenko <viy@altlinux.ru> 0.30-alt1
- updated priorities

* Mon Dec 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.29-alt1
- updated tex priorities
- new release to repair broken p7

* Sat Nov 29 2014 Igor Vlasenko <viy@altlinux.ru> 0.28-alt1
- updated priorities

* Wed Dec 11 2013 Igor Vlasenko <viy@altlinux.ru> 0.27-alt1
- updated priorities; support for LibreOffice41; deadbeef (closes: 29263)

* Tue Jul 16 2013 Igor Vlasenko <viy@altlinux.ru> 0.26-alt1
- placed mplayer wrappers over mplayer (closes: 29068)

* Thu Apr 18 2013 Igor Vlasenko <viy@altlinux.ru> 0.25-alt1
- updated priorities

* Mon Apr 08 2013 Igor Vlasenko <viy@altlinux.ru> 0.24-alt1
- refreshed priorities

* Wed Nov 21 2012 Igor Vlasenko <viy@altlinux.ru> 0.23-alt1
- mplayer priority is raised.

* Fri Nov 16 2012 Igor Vlasenko <viy@altlinux.ru> 0.22-alt1
- updated to fresh Sisyphus

* Tue Jun 19 2012 Igor Vlasenko <viy@altlinux.ru> 0.21-alt1
- added %_datadir/kde4/applications/kde4/mimeapps.list

* Mon Oct 03 2011 Igor Vlasenko <viy@altlinux.ru> 0.20-alt1
- added font viewers

* Mon Oct 03 2011 Igor Vlasenko <viy@altlinux.ru> 0.19-alt2
- packaged lost gnome defaults

* Wed Aug 03 2011 Igor Vlasenko <viy@altlinux.ru> 0.19-alt1
- fixed dolphin priorities

* Sat Jul 30 2011 Igor Vlasenko <viy@altlinux.ru> 0.18-alt1
- inode/directory priorities

* Tue May 24 2011 Igor Vlasenko <viy@altlinux.ru> 0.17-alt1
- KDE priority updates (closes: 25654)

* Thu May 19 2011 Igor Vlasenko <viy@altlinux.ru> 0.16-alt1
- priority updates

* Mon May 16 2011 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1
- KDE priority updates (kedit, kwrite)

* Thu May 12 2011 Igor Vlasenko <viy@altlinux.ru> 0.14-alt1
- priority updates

* Wed May 04 2011 Igor Vlasenko <viy@altlinux.ru> 0.13-alt1
- updated text priorities

* Tue May 03 2011 Igor Vlasenko <viy@altlinux.ru> 0.12-alt1
- added gnome priorities defaults.list

* Tue May 03 2011 Igor Vlasenko <viy@altlinux.ru> 0.11-alt1
- firefox as default http x-scheme-handler

* Wed Apr 27 2011 Igor Vlasenko <viy@altlinux.ru> 0.10-alt1
- cleaned up kde priorities 

* Tue Apr 26 2011 Igor Vlasenko <viy@altlinux.ru> 0.09-alt1
- added kde priorities

* Tue Apr 19 2011 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1
- added html, text priorities

* Mon Apr 18 2011 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1
- added piorities for a few mimetypes

* Fri Apr 15 2011 Igor Vlasenko <viy@altlinux.ru> 0.06-alt1
- added audio/* priorities 

* Thu Apr 14 2011 Igor Vlasenko <viy@altlinux.ru> 0.05-alt1
- added image/* priorities

* Thu Apr 14 2011 Igor Vlasenko <viy@altlinux.ru> 0.04-alt1
- marked as config

* Thu Apr 14 2011 Igor Vlasenko <viy@altlinux.ru> 0.03-alt1
- added archivers and finance priorities (by cas@)

* Thu Apr 14 2011 Igor Vlasenko <viy@altlinux.ru> 0.02-alt1
- added jar priorities

* Wed Apr 13 2011 Igor Vlasenko <viy@altlinux.ru> 0.01-alt1
- Initial build