Version: 2.32
Release: 1
URL: https://www.gnu.org/software/libc/
-Source: https://mirrors.ustc.edu.cn/gnu/glibc/glibc-%{version}.tar.xz
-Source1: https://mirrors.ustc.edu.cn/gnu/glibc/glibc-%{version}.tar.xz.sig
+Source: https://mirror.sjtu.edu.cn/gnu/glibc/glibc-%{version}.tar.xz
+Source1: https://mirror.sjtu.edu.cn/gnu/glibc/glibc-%{version}.tar.xz.sig
%if %{with fast_build} || %{build_utils} && %{without build_all}
%define build_profile 0
%else
make %{?_smp_mflags} -C build check-abi
%endif
+
+%install
-Summary: A small, friendly text editor
+Name: nano
Version: 5.5
Release: 0
+Summary: A small, friendly text editor
License: GPLv3+
URL: https://nano-editor.org/
-Source0: https://mirrors.sjtug.sjtu.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz
-Source1: https://mirrors.sjtug.sjtu.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+Source0: https://mirror.sjtu.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz
+Source1: https://mirror.sjtu.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz.sig
Source2: nanorc
%description
of the Pine email suite from The University of Washington. It aimed to "emulate
Pico as closely as is reasonable and then include extra functionality".
+%lang_package
+
%prep
%setup -q
mkdir -p %{buildroot}%{_sysconfdir}
install -m 0644 ./nanorc %{buildroot}%{_sysconfdir}/nanorc
+# enable all extra syntax highlighting files by default
+mv %{buildroot}%{_datadir}/nano/extra/* %{buildroot}%{_datadir}/nano
-%files
-%defattr(-,root,root,-)
-%doc
+%find_lang %{name} --with-man --all-name
+%files
%changelog
-* Tue Feb 2 2021 He Chenlan <210hcl@gmail.com> -
-- Initial build.
-
+++ /dev/null
-#
-# spec file for package sed
-#
-# Copyright (c) 2021 SUSE LLC
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
-#
-
-
-Name: sed
-Version:
-Release: 0
-Summary:
-License:
-URL:
-Source0:
-BuildRequires:
-Requires:
-
-%description
-
-
-%prep
-%setup -q
-
-%build
-%configure
-make %{?_smp_mflags}
-
-%install
-%make_install
-
-%files
-%license add-license-file-here
-%doc add-docs-here
-
-%changelog