Sisyphus repositório
Última atualização: 18 abril 2021 | SRPMs: 17847 | Visitas: 20748691
en ru br
ALT Linux repositórios
S:1.6.1-alt1

Group :: Desktop gráfico/Outros
RPM: golang-github-teambition-rrule-go

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_without check

%global goipath github.com/teambition/rrule-go

Name: golang-github-teambition-rrule-go
Version: 1.5.0
Release: alt1
Summary: Go library for working with recurrence rules for calendar dates
Group: Graphical desktop/Other
License: MIT
Url: https://github.com/teambition/rrule-go
Packager: Leontiy Volodin <lvol at altlinux.org>

Source: %url/archive/%version/rrule-go-%version.tar.gz

BuildRequires(pre): rpm-build-golang

%description
The rrule module offers a complete implementation of the recurrence rules documented in the iCalendar RFC. It is a partial port of the rrule module from the excellent python-dateutil library.

%package devel
Summary: %summary
Group: Development/Other
BuildArch: noarch

%description devel
The rrule module offers a complete implementation of the recurrence rules documented in the iCalendar RFC. It is a partial port of the rrule module from the excellent python-dateutil library.

%package examples
Summary: Examples for %name
Group: Development/Other
BuildArch: noarch

%description examples
This package provides examples for %name.

%prep
%setup -n rrule-go-%version

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%goipath"
export GOPATH="%go_path"

%golang_prepare

cd .build/src/%goipath
%golang_build

%install
export BUILDDIR="$PWD/.build"
export GOPATH="%go_path"
%golang_install

%if_with check
%check
export GOPATH="%go_path"
%gotest
%endif

%files devel
%doc LICENSE README.md
%go_path/src/%goipath
%exclude %go_path/src/%goipath/example

%files examples
%go_path/src/%goipath/example

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009