Projects
Eulaceura:Factory
mintlocale
_service:obs_scm:mintlocale.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:mintlocale.spec of Package mintlocale
%global _mintlibdir %{_prefix}/lib/linuxmint/ Name: mintlocale Version: 1.4.7 Release: 1 Summary: Language selection tool License: GPLv2+ URL: https://github.com/linuxmint/%{name} Source0: https://github.com/linuxmint/%{name}/archive/%{version}/%{name}-%{version}.tar.gz # Revert https://github.com/linuxmint/mintlocale/commit/0206bbf7c12058999e701bb11f9012be54da2cbb # Using non utf8 breaks gnome apps Patch0: show_utf8_only.patch Patch1: https://github.com/linuxmint/%{name}/pull/56.patch#/add_apt_checking.patch Patch2: https://github.com/linuxmint/%{name}/commit/7041982b69fa9fea065098e7b33f306df1dcac91.patch#/fix_signal_name.patch Patch3: fix_gdk_import.patch BuildArch: noarch BuildRequires: desktop-file-utils Requires: accountsservice Requires: %{name}-set-default-locale = %{version}-%{release} Requires: xapps %description Language selection tool for Cinnamon. %package set-default-locale Summary: Language selection tool %description set-default-locale Language selection tool for Cinnamon. %prep %autosetup -p1 %build echo 'nothing to build' %install %{__cp} -pr .%{_prefix} %{buildroot} %{__rm} %{buildroot}%{_bindir}/add-remove-locales \ %{buildroot}%{_datadir}/applications/%{name}-im.desktop \ %{buildroot}%{_mintlibdir}/mintlocale/add.py \ %{buildroot}%{_mintlibdir}/mintlocale/install_remove.py %{__chmod} -c 0755 %{buildroot}%{_mintlibdir}/mintlocale/mintlocale.py echo 'LANG=$locale' > %{buildroot}%{_datadir}/linuxmint/mintlocale/templates/default_locale.template %{_bindir}/desktop-file-install \ --add-only-show-in=X-Cinnamon \ --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop %files %doc debian/changelog %license COPYING debian/copyright %{_bindir}/%{name} %{_mintlibdir}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/linuxmint %{_datadir}/polkit-1/actions/com.linuxmint.mintlocale.policy %files set-default-locale %{_bindir}/set-default-locale %changelog * Fri May 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.4.7-1 - Initial Packaging
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2