Accepting request 977070 from home:dimstar:Factory

- URL -> https.
- Run spec-cleaner: mainly: package LICENSE as license, not doc.

OBS-URL: https://build.opensuse.org/request/show/977070
OBS-URL: https://build.opensuse.org/package/show/Education/enca?expand=0&rev=36
This commit is contained in:
Lars Vogdt 2022-05-20 14:32:59 +00:00 committed by Git OBS Bridge
parent fe880e1545
commit 67d944efdf
2 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 13 14:41:40 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- URL -> https.
- Run spec-cleaner: mainly: package LICENSE as license, not doc.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 8 19:43:45 UTC 2017 - aavindraa@gmail.com Wed Nov 8 19:43:45 UTC 2017 - aavindraa@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package enca # spec file for package enca
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
@ -20,10 +20,10 @@ Name: enca
Version: 1.19 Version: 1.19
Release: 0 Release: 0
Summary: Detects encoding of text files Summary: Detects encoding of text files
License: GPL-2.0 License: GPL-2.0-only
Group: Productivity/Other Group: Productivity/Other
Url: http://cihar.com/software/enca/ URL: https://cihar.com/software/enca/
Source: http://dl.cihar.com/%{name}/%{name}-%{version}.tar.xz Source: https://dl.cihar.com/%{name}/%{name}-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: pkgconfig BuildRequires: pkgconfig
Requires: sed Requires: sed
@ -75,7 +75,7 @@ library.
%build %build
%configure --disable-static --without-librecode %configure --disable-static --without-librecode
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
@ -86,12 +86,13 @@ rm %{buildroot}/%{_libdir}/libenca.la
%postun -n libenca0 -p /sbin/ldconfig %postun -n libenca0 -p /sbin/ldconfig
%files %files
%doc AUTHORS COPYING ChangeLog* FAQ README THANKS TODO %license COPYING
%doc AUTHORS ChangeLog* FAQ README THANKS TODO
%{_bindir}/enca %{_bindir}/enca
%{_bindir}/enconv %{_bindir}/enconv
%{_libexecdir}/enca %{_libexecdir}/enca
%{_mandir}/man1/enca.1%{ext_man} %{_mandir}/man1/enca.1%{?ext_man}
%{_mandir}/man1/enconv.1%{ext_man} %{_mandir}/man1/enconv.1%{?ext_man}
%files -n libenca0 %files -n libenca0
%{_libdir}/libenca.so.0* %{_libdir}/libenca.so.0*