File raku-Log-Timeline.spec of Package raku-Log-Timeline

#
# spec file for package raku-Log-Timeline
#
# Copyright (c) 2017 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:           raku-Log-Timeline
Version:        0.5.1
Release:        0.5.1
License:        Artistic-2.0
Summary:        Log tasks with start/end periods and phases, as well as individual events
Url:            https://github.com/jnthn/raku-log-timeline.git
Group:          Development/Languages/Other
Source0:        raku-Log-Timeline-0.5.1.tar.xz
BuildRequires:  fdupes
BuildRequires:  rakudo >= 2017.04.2
BuildRequires:  raku(CBOR::Simple)
BuildRequires:  raku(JSON::Fast)
Requires:       raku >= 2016.12
Requires:       raku(CBOR::Simple)
Requires:       raku(JSON::Fast)
Provides:       raku(Log::Timeline)
Provides:       perl6(Log::Timeline)
Provides:       raku(Log::Timeline::Model)
Provides:       perl6(Log::Timeline::Model)
Provides:       raku(Log::Timeline::Output)
Provides:       perl6(Log::Timeline::Output)
Provides:       raku(Log::Timeline::Output::CBORSequence)
Provides:       perl6(Log::Timeline::Output::CBORSequence)
Provides:       raku(Log::Timeline::Output::JSONLines)
Provides:       perl6(Log::Timeline::Output::JSONLines)
Provides:       raku(Log::Timeline::Output::Socket)
Provides:       perl6(Log::Timeline::Output::Socket)
Provides:       raku(Log::Timeline::Raku::LogTimelineSchema)
Provides:       perl6(Log::Timeline::Raku::LogTimelineSchema)
Provides:       raku(Log::Timeline::Raku::Setup)
Provides:       perl6(Log::Timeline::Raku::Setup)
Obsoletes:      perl6-Log-Timeline
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%global debug_package %{nil}

%description
Log tasks with start/end periods and phases, as well as individual events
%prep

%setup -q

%build

%install
RAKUDO_MODULE_DEBUG=1 RAKUDO_PRECOMP_VERBOSE=1 RAKUDO_RERESOLVE_DEPENDENCIES=0 raku --ll-exception %{_datadir}/perl6/bin/install-perl6-dist \
        --to=$RPM_BUILD_ROOT%{_datadir}/perl6/vendor \
        --for=vendor \
        --from=.
%fdupes %{buildroot}/%{_datadir}/perl6/vendor
rm -f %{buildroot}%{_datadir}/perl6/vendor/bin/*-j
rm -f %{buildroot}%{_datadir}/perl6/vendor/bin/*-js
find %{buildroot}/%{_datadir}/perl6/vendor/bin/ -type f -exec sed -i -e '1s:!/usr/bin/env :!/usr/bin/:' '{}' \;

%files
%defattr(-,root,root)
%doc README.md

%{_datadir}/perl6/vendor

%changelog
openSUSE Build Service is sponsored by