From cae3ef9f81313f5d391549b0440c20797e65b79b13ae0b8787a86c27cdcc8640 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Wed, 10 Nov 2010 19:46:11 +0000 Subject: [PATCH] Accepting request 52751 from home:pbleser:Utilities reviewed OK OBS-URL: https://build.opensuse.org/request/show/52751 OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=1 --- .gitattributes | 23 ++++ .gitignore | 1 + calcurse-2.8.tar.bz2 | 3 + ...x_missing_return_in_nonvoid_function.patch | 10 ++ calcurse.changes | 104 ++++++++++++++++++ calcurse.desktop | 9 ++ calcurse.spec | 68 ++++++++++++ 7 files changed, 218 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 calcurse-2.8.tar.bz2 create mode 100644 calcurse-fix_missing_return_in_nonvoid_function.patch create mode 100644 calcurse.changes create mode 100644 calcurse.desktop create mode 100644 calcurse.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/calcurse-2.8.tar.bz2 b/calcurse-2.8.tar.bz2 new file mode 100644 index 0000000..4fe32e1 --- /dev/null +++ b/calcurse-2.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:143ab0835d222cab4e0aa82066e22d3438bebebad11b22c7e394dcd196391085 +size 400749 diff --git a/calcurse-fix_missing_return_in_nonvoid_function.patch b/calcurse-fix_missing_return_in_nonvoid_function.patch new file mode 100644 index 0000000..24128b4 --- /dev/null +++ b/calcurse-fix_missing_return_in_nonvoid_function.patch @@ -0,0 +1,10 @@ +--- src/calendar.c.orig 2010-03-01 12:58:56.000000000 +0100 ++++ src/calendar.c 2010-03-01 12:59:40.000000000 +0100 +@@ -91,6 +91,7 @@ + calendar_set_current_date (); + calendar_update_panel (win[CAL].p); + } ++ return NULL; + } + + /* Launch the calendar date thread. */ diff --git a/calcurse.changes b/calcurse.changes new file mode 100644 index 0000000..c17f1aa --- /dev/null +++ b/calcurse.changes @@ -0,0 +1,104 @@ +------------------------------------------------------------------- +Sun May 30 06:59:39 UTC 2010 - pascal.bleser@opensuse.org + +- update to 2.8: + * adds a weekly calendar view that displays the week number and colored slices indicating appointment times + * the side bar width can now be customized by the user + * some bugs were addressed in this release, the most important being incorrect calculation of recurrent dates after a turn of year + +------------------------------------------------------------------- +Sat Aug 29 00:00:00 UTC 2009 - pascal.bleser@opensuse.org + +- update to 2.7: + * a daemon was implemented so that reminders can now be sent while calcurse is running in the background + * a new '--status' command line option was added for displaying information about already running instances + * important bugs related to ical import and export were addressed in this release + + +------------------------------------------------------------------- +Sun Jul 12 00:00:00 UTC 2009 - pascal.bleser@opensuse.org + +- update to 2.6 + + +------------------------------------------------------------------- +Sat Dec 27 00:00:00 UTC 2008 - guru@unixtech.be + +- update to 2.4: + * add ability to define its own key bindings. + * the layout configuration menu was redesigned to become more user-friendly + * important bugs were addressed in this release: a memory leak due to a + wrong use of the pthread library was fixed, and a possible freeze when + deleting an appointment's note does not appear anymore + * regarding data export, exception dates are now properly ignored + * a daylight saving time unwanted offset is not added anymore + + +------------------------------------------------------------------- +Wed Oct 15 00:00:00 UTC 2008 - guru@unixtech.be + +- update to 2.3: + * adds the ability to import data from the iCalendar format as defined in + RFC 2445 + + +------------------------------------------------------------------- +Fri Aug 29 00:00:00 UTC 2008 - guru@unixtech.be + +- added Authors: +- update to 2.2: + * add ability to export data to pcal format and thus to produce nice-looking + Postscript output for printing + * new command line arguments were added that allow you to use an alternative + data directory, and to be more flexible when specifying the range of dates + to be considered when displaying appointments and events + * new key bindings ease movements in the calendar +- changes from 2.1: + * fixed bug in changing of todo priority, which could result in a segfault + in some cases + * display note contents in non-interactive mode + * date formats are now user-configurable + * the Italian manual translation was added + + +------------------------------------------------------------------- +Sun Mar 2 00:00:00 UTC 2008 - guru@unixtech.be + +- new upstream version + + +------------------------------------------------------------------- +Wed Oct 24 00:00:00 UTC 2007 - guru@unixtech.be + +- moved to openSUSE Build Service +- new upstream version + + +------------------------------------------------------------------- +Sat Jan 20 00:00:00 UTC 2007 - guru@unixtech.be + +- new upstream version + + +------------------------------------------------------------------- +Sat Aug 26 00:00:00 UTC 2006 - guru@unixtech.be + +- new upstream version + + +------------------------------------------------------------------- +Tue May 30 00:00:00 UTC 2006 - guru@unixtech.be + +- new upstream version + + +------------------------------------------------------------------- +Sun Apr 23 00:00:00 UTC 2006 - guru@unixtech.be + +- new upstream version +- rewrote spec file +- pass -j to make +- removed Packager and Distribution, injected by rpmmacros +- binary stripping on SUSE < 9.3 + + diff --git a/calcurse.desktop b/calcurse.desktop new file mode 100644 index 0000000..868aac6 --- /dev/null +++ b/calcurse.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Categories=Office;Calendar; +Encoding=UTF-8 +Terminal=true +Exec=calcurse +Type=Application +StartupNotify=false +Name=Calcurse +GenericName=Organizer diff --git a/calcurse.spec b/calcurse.spec new file mode 100644 index 0000000..89ce365 --- /dev/null +++ b/calcurse.spec @@ -0,0 +1,68 @@ +# norootforbuild + +Name: calcurse +Version: 2.8 +Release: 0 +Summary: Text-based Organizer +# http://culot.org/cgi-bin/get.cgi?calcurse-%{version}.tar.gz +Source: calcurse-%{version}.tar.bz2 +Source1: %{name}.desktop +Patch1: calcurse-fix_missing_return_in_nonvoid_function.patch +URL: http://culot.org/calcurse/ +Group: Productivity/Office/Organizers +License: BSD License +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: ncurses-devel gcc make glibc-devel gettext gettext-devel +BuildRequires: autoconf automake libtool update-desktop-files + +%description +Calcurse is a text-based personal organizer which helps keep track of events +and everyday tasks. It has a calendar and a "todo" list, and puts your +appointments in order. The user interface is configurable, and you can choose +between different color schemes and layouts. All of the commands are +documented within an online help system. + + + + +Authors: +-------- + Frédéric Culot + +%debug_package +%prep +%setup -q +%patch1 + +%build +%configure +%__make %{?jobs:-j%{jobs}} + +%install +%makeinstall +%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" +%suse_update_desktop_file -r "%{name}" Office Calendar + +%__mv \ + "%{buildroot}%{_datadir}/locale/en" \ + "%{buildroot}%{_datadir}/locale/en_US" + +%find_lang "%{name}" + +%__chmod 0644 AUTHORS ChangeLog NEWS README TODO + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files -f "%{name}.lang" +%defattr(-,root,root) +%doc AUTHORS ChangeLog NEWS README TODO +%{_bindir}/calcurse +%doc %{_mandir}/man1/calcurse.1%{ext_man} +%{_datadir}/applications/%{name}.desktop + +%changelog +# Local Variables: +# mode: rpm-spec +# tab-width: 3 +# End: