Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
1d50c053f0 |
@@ -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
BIN
App-gcal-1.121460.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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
|
Tue Nov 24 13:59:10 UTC 2015 - vcizek@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-App-gcal
|
# 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
|
# 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,104 +12,88 @@
|
|||||||
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define cpan_name App-gcal
|
||||||
Name: perl-App-gcal
|
Name: perl-App-gcal
|
||||||
Version: 1.120860
|
Version: 1.121.460
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Perl module for gcal
|
# 1.121460 -> normalize -> 1.121.460
|
||||||
License: GPL-2.0+ or Artistic-1.0
|
%define cpan_version 1.121460
|
||||||
Group: Development/Libraries/Perl
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/A/AR/ARJONES/App-gcal-%{version}.tar.gz
|
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
|
Source100: README.md
|
||||||
Url: http://search.cpan.org/dist/App-gcal
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: perl
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Class::ReturnValue)
|
BuildRequires: perl(Class::ReturnValue)
|
||||||
BuildRequires: perl(Data::ICal)
|
BuildRequires: perl(Data::ICal)
|
||||||
BuildRequires: perl(DateTime::Format::ICal)
|
BuildRequires: perl(DateTime::Format::ICal)
|
||||||
BuildRequires: perl(English)
|
BuildRequires: perl(DateTime::TimeZone)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ICal::Format::Natural)
|
||||||
BuildRequires: perl(FindBin)
|
|
||||||
BuildRequires: perl(Getopt::Std)
|
|
||||||
BuildRequires: perl(ICal::QuickAdd)
|
|
||||||
BuildRequires: perl(Net::Google::Calendar)
|
BuildRequires: perl(Net::Google::Calendar)
|
||||||
BuildRequires: perl(Net::Google::Calendar::Entry)
|
BuildRequires: perl(Net::Google::Calendar::Entry)
|
||||||
BuildRequires: perl(Net::Netrc)
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
BuildRequires: perl(strict)
|
|
||||||
BuildRequires: perl(warnings)
|
|
||||||
Requires: perl(Class::ReturnValue)
|
Requires: perl(Class::ReturnValue)
|
||||||
Requires: perl(Data::ICal)
|
Requires: perl(Data::ICal)
|
||||||
Requires: perl(DateTime::Format::ICal)
|
Requires: perl(DateTime::Format::ICal)
|
||||||
Requires: perl(Getopt::Std)
|
Requires: perl(DateTime::TimeZone)
|
||||||
Requires: perl(ICal::QuickAdd)
|
Requires: perl(ICal::Format::Natural)
|
||||||
Requires: perl(Net::Google::Calendar)
|
Requires: perl(Net::Google::Calendar)
|
||||||
Requires: perl(Net::Google::Calendar::Entry)
|
Requires: perl(Net::Google::Calendar::Entry)
|
||||||
Requires: perl(Net::Netrc)
|
Provides: perl(App::gcal) = %{version}
|
||||||
Requires: perl(strict)
|
%undefine __perllib_provides
|
||||||
Requires: perl(warnings)
|
%{perl_requires}
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%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
|
Before using the 'gcal' command, you need to provide your Google
|
||||||
Summary: Command Line Interface interface to Google Calendar
|
credentials. The most convenient way to do this is by using your '~.netrc'
|
||||||
Group: Productivity/Office/Organizers
|
file and supplying credentials for the 'google.com' machine. For example:
|
||||||
Requires: %{name} = %{version}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%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
|
machine google.com
|
||||||
login bob
|
login bill
|
||||||
password 1234
|
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.
|
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
|
attempt to parse it and create a new event. It uses ICal::QuickAdd to
|
||||||
parse, so has the same functionality and limitations.
|
parse, so has the same functionality and limitations.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "App-gcal-%{version}"
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?_smp_flags}
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
# rename gcal to avoid conflicts with GNU gcal (boo#778048)
|
%perl_gen_filelist
|
||||||
mv %{buildroot}%{_bindir}/gcal %{buildroot}%{_bindir}/gcal-perl
|
|
||||||
mv %{buildroot}%{_mandir}/man1/gcal.1 %{buildroot}%{_mandir}/man1/gcal-perl.1
|
|
||||||
|
|
||||||
%check
|
%files -f %{name}.files
|
||||||
%__make test
|
%doc Changes README
|
||||||
|
%license LICENSE
|
||||||
%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*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user