File hebcal.spec of Package hebcal
#
# spec file for package hebcal
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: hebcal
Version: 5.8.3
Release: 0
#
Summary: A perpetual Jewish Calendar
#
Group: Productivity/Other
License: GPL-2.0
#
Url: https://github.com/hebcal/hebcal
Source0: hebcal-%{version}.tar.gz
Source1: vendor.tar.gz
Patch0: amsterdam.patch
BuildRequires: golang(API)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Hebcal is a program which prints out the days in the Jewish calendar
for a given gregorian year. Hebcal is fairly flexible in terms of which
events in the Jewish calendar it displays. Each of the following can
be individualy turned on or off:
- The Hebrew date
- Jewish Holidays (including Yom Ha'atzmaut and Yom HaShoah etc.)
- The weekly Sedrah
- The day of the week
- The days of the Omer
%prep
%setup -q
%setup -q -T -D -a 1
%patch -P0 -p1
sed -i 's#^\(PREFIX=\).*$#\1%{_prefix}#' Makefile
sed -i 's/^\(DEFAULT_CITY=\).*$/\1"Buitenveldert"/' Makefile
%build
GOFLAGS=-mod=vendor make
%install
%make_install
%files
%defattr(-,root,root)
%{_bindir}/hebcal
%doc %{_mandir}/man1/hebcal.1*
%doc NEWS.md README.md COPYING AUTHORS
%changelog
* Mon Dec 11 2023 Mischa Salle <mischa.salle@gmail.com> 5.8.3
- update to version 5.8.3
* Fri Dec 8 2023 Mischa Salle <mischa.salle@gmail.com> 5.8.2
- update packaging for new go-based source
- update to version 5.8.2
* Mon Aug 18 2020 Mischa Salle <mischa.salle@gmail.com> 4.21
- update to version 4.21
* Tue Apr 21 2020 Mischa Salle <mischa.salle@gmail.com> 4.19
- update to version 4.19
* Sun Nov 22 2015 Mischa Salle <mischa.salle@gmail.com> 4.0.2-1
- rudimetary first version