- Use xz sources
- Split lang package - Fetch keyring from savannah OBS-URL: https://build.opensuse.org/package/show/devel:tools/indent?expand=0&rev=16
This commit is contained in:
parent
bae45ba8ca
commit
3dfe392d0f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e77d68c0211515459b8812118d606812e300097cfac0b4e9fb3472664263bb8b
|
||||
size 967743
|
Binary file not shown.
3
indent-2.2.12.tar.xz
Normal file
3
indent-2.2.12.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b745a5dfc68f86a483d7f96dc1cda7aafd1e78ecba3c7d8ad304709e91e1defb
|
||||
size 620280
|
BIN
indent-2.2.12.tar.xz.sig
Normal file
BIN
indent-2.2.12.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 20 11:15:24 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Use xz sources
|
||||
- Split lang package
|
||||
- Fetch keyring from savannah
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 17 09:04:23 UTC 2018 - astieger@suse.com
|
||||
|
||||
|
1131
indent.keyring
1131
indent.keyring
File diff suppressed because it is too large
Load Diff
25
indent.spec
25
indent.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package indent
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -22,13 +22,12 @@ Release: 0
|
||||
Summary: Indentation of Source Code in various styles
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
URL: http://www.gnu.org/software/indent
|
||||
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
||||
Source1: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
|
||||
Source2: %{name}.keyring
|
||||
URL: https://www.gnu.org/software/indent
|
||||
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
||||
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: texi2html
|
||||
Requires(pre): %{install_info_prereq}
|
||||
|
||||
%description
|
||||
Indent can be used to make code easier to read. It can also convert
|
||||
@ -36,12 +35,14 @@ from one style of writing C code to another. indent understands a
|
||||
substantial amount of C syntax, but it also tries to cope with
|
||||
incomplete and malformed syntax.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@ -50,7 +51,7 @@ rm -f %{buildroot}%{_prefix}/doc/indent/indent.html %{buildroot}%{_bindir}/texin
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} -C regression
|
||||
%make_build check
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
@ -58,11 +59,13 @@ make %{?_smp_mflags} -C regression
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%files -f %{name}.lang
|
||||
%files
|
||||
%{_bindir}/*
|
||||
%license COPYING
|
||||
%doc NEWS ChangeLog doc/indent.html
|
||||
%{_infodir}/%{name}.info%{?ext_info}
|
||||
%{_mandir}/man1/indent.1%{?ext_man}
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user