1 Commits

Author SHA256 Message Date
1d50c053f0 Automatic update to 1.121460 2025-08-21 21:36:40 +00:00
4 changed files with 66 additions and 68 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a1f270dfbdc6090a5f1cbb743bf7e87ceb3e5eb968f0bdd1e0ccb6f9118470d
size 13221

BIN
App-gcal-1.121460.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Aug 21 21:36:40 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.121.460 (1.121460)
see /usr/share/doc/packages/perl-App-gcal/Changes
1.121460 2012-05-25 21:33:38 Europe/London
Don't need to show the full path to gcal in usage info.
1.121310 2012-05-10 19:42:27 Europe/London
Use ICal::Format::Natural to parse text.
Ensure we are creating the events in the local timezone.
Add note about Google's two factor authentication.
-------------------------------------------------------------------
Tue Nov 24 13:59:10 UTC 2015 - vcizek@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-App-gcal
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,104 +12,88 @@
# 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/
#
%define cpan_name App-gcal
Name: perl-App-gcal
Version: 1.120860
Version: 1.121.460
Release: 0
Summary: Perl module for gcal
License: GPL-2.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/A/AR/ARJONES/App-gcal-%{version}.tar.gz
# 1.121460 -> normalize -> 1.121.460
%define cpan_version 1.121460
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Command Line Interface interface to Google Calendar
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AR/ARJONES/%{cpan_name}-%{cpan_version}.tar.gz
Source100: README.md
Url: http://search.cpan.org/dist/App-gcal
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: make
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::ReturnValue)
BuildRequires: perl(Data::ICal)
BuildRequires: perl(DateTime::Format::ICal)
BuildRequires: perl(English)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(FindBin)
BuildRequires: perl(Getopt::Std)
BuildRequires: perl(ICal::QuickAdd)
BuildRequires: perl(DateTime::TimeZone)
BuildRequires: perl(ICal::Format::Natural)
BuildRequires: perl(Net::Google::Calendar)
BuildRequires: perl(Net::Google::Calendar::Entry)
BuildRequires: perl(Net::Netrc)
BuildRequires: perl(Test::More)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Class::ReturnValue)
Requires: perl(Data::ICal)
Requires: perl(DateTime::Format::ICal)
Requires: perl(Getopt::Std)
Requires: perl(ICal::QuickAdd)
Requires: perl(DateTime::TimeZone)
Requires: perl(ICal::Format::Natural)
Requires: perl(Net::Google::Calendar)
Requires: perl(Net::Google::Calendar::Entry)
Requires: perl(Net::Netrc)
Requires: perl(strict)
Requires: perl(warnings)
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
Provides: perl(App::gcal) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Perl module to back the gcal application.
The 'gcal' command provides a quick and easy interface to Google Calendar
from the command line.
%package binary
Summary: Command Line Interface interface to Google Calendar
Group: Productivity/Office/Organizers
Requires: %{name} = %{version}
BuildArch: noarch
Before using the 'gcal' command, you need to provide your Google
credentials. The most convenient way to do this is by using your '~.netrc'
file and supplying credentials for the 'google.com' machine. For example:
%description binary
Before using the "gcal" command, you need to provide your Google
credentials in your ".netrc" file, for the "google.com" machine. For
example:
machine google.com
login bob
login bill
password 1234
You can then pass one or more ".ics" files to the "gcal" command and it
NOTE: On Windows, your '.netrc' file is at '%HOME%.netrc'.
NOTE 2: On Unix, ensure your '~.netrc' file has the permissions set to 600.
Alternatively, you can pass the username and password as a parameter to
'gcal', as follows:
gcal --username="bill" --password="1234"
You can then pass one or more '.ics' files to the 'gcal' command and it
will be added to your Google Calendar.
You can also pass one or more strings to the "gcal" command, which will
You can also pass one or more strings to the 'gcal' command, which will
attempt to parse it and create a new event. It uses ICal::QuickAdd to
parse, so has the same functionality and limitations.
%prep
%setup -q -n "App-gcal-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?_smp_flags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
# rename gcal to avoid conflicts with GNU gcal (boo#778048)
mv %{buildroot}%{_bindir}/gcal %{buildroot}%{_bindir}/gcal-perl
mv %{buildroot}%{_mandir}/man1/gcal.1 %{buildroot}%{_mandir}/man1/gcal-perl.1
%perl_gen_filelist
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc README Changes LICENSE
%dir %{perl_vendorlib}/App
%{perl_vendorlib}/App/gcal.pm
%doc %{perl_man3dir}/App::gcal.%{perl_man3ext}%{ext_man}
%files binary
%defattr(-,root,root)
%{_bindir}/gcal-perl
%doc %{_mandir}/man1/gcal-perl.1*
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog