diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54946d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +wyrd-1.4.4.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..bc8b9b8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a376c05ba614625da06082d850c742c7 wyrd-1.4.4.tar.gz diff --git a/wyrd-1.4.3-wyrdrc-local.patch b/wyrd-1.4.3-wyrdrc-local.patch new file mode 100644 index 0000000..b147643 --- /dev/null +++ b/wyrd-1.4.3-wyrdrc-local.patch @@ -0,0 +1,21 @@ +diff -ru wyrd-1.4.3/wyrdrc wyrd-1.4.3.p/wyrdrc +--- wyrd-1.4.3/wyrdrc 2007-08-18 05:30:06.000000000 +0200 ++++ wyrd-1.4.3.p/wyrdrc 2007-08-18 10:26:38.000000000 +0200 +@@ -1,3 +1,8 @@ ++# ++# Do not edit this file! ++# Edit /etc/wyrdrc.local instead ++# ++ + # Wyrd run-configuration file + + # command for the Remind executable +@@ -165,6 +170,7 @@ + color left_divider cyan blue + color right_divider cyan blue + +- ++# Put different default values in this file ++include "/etc/wyrdrc.local" + + # arch-tag: DO_NOT_CHANGE_ee9bb855-2fde-4a61-8645-8ba31b35eaab diff --git a/wyrd-wyrdrc.local b/wyrd-wyrdrc.local new file mode 100644 index 0000000..021cba8 --- /dev/null +++ b/wyrd-wyrdrc.local @@ -0,0 +1 @@ +# Use this file for your local wyrd configuration changes diff --git a/wyrd.spec b/wyrd.spec new file mode 100644 index 0000000..166031d --- /dev/null +++ b/wyrd.spec @@ -0,0 +1,86 @@ +Name: wyrd +Version: 1.4.4 +Release: 4%{?dist} +Summary: A ncurses frontend for the calendar application remind + +Group: Applications/Productivity +License: GPLv2 +URL: http://pessimization.com/software/wyrd/ +Source0: http://pessimization.com/software/wyrd/wyrd-%{version}.tar.gz +Source1: wyrd-wyrdrc.local + +Patch0: wyrd-1.4.3-wyrdrc-local.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: ocaml remind ncurses-devel +BuildRequires: ocaml-camlp4-devel +Requires: remind + +%description +wyrd is a ncurses frontend for the calendar application remind. + + +%prep +%setup -q +%patch0 -p1 -b .wyrdrc-local + + +%build +%configure --enable-utf8 +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +install --mode 0644 -D %SOURCE1 $RPM_BUILD_ROOT/%{_sysconfdir}/wyrdrc.local + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING ChangeLog doc/TODO doc/manual.pdf doc/manual.html +%config %{_sysconfdir}/wyrdrc +%config(noreplace) %{_sysconfdir}/wyrdrc.local +%{_bindir}/wyrd +%{_mandir}/man1/wyrd.1* +%{_mandir}/man5/wyrdrc.5* + + +%changelog +* Wed Feb 25 2009 Fedora Release Engineering - 1.4.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Dec 09 2008 Till Maas - 1.4.4-3 +- Add Requires: remind + +* Tue Jul 08 2008 Till Maas - 1.4.4-2 +- fix BuildRequires, camlp4 is not needed/supported as BR anymore + +* Fri Feb 22 2008 Till Maas - 1.4.4-1 +- update to latest version that fixes CVE-2008-0806 in a different way +- update URL/SOURCE to new location +- remove ExcludeArch, because ocaml is now available for ppc64 + +* Thu Feb 21 2008 Till Maas - 1.4.3b-1 +- update to latest version +- include patch from debian to fix CVE-2008-0806 + +* Wed Feb 20 2008 Fedora Release Engineering - 1.4.3-4 +- Autorebuild for GCC 4.3 + +* Sun Oct 21 2007 Till Maas - 1.4.3-3 +- fix permissions of local config file +- use globbing for manpages (the may not be gzipped) +- add ExludeArch ppc64 + +* Tue Aug 28 2007 Till Maas - 1.4.3-2 +- Fix BuildRequires for F8 + +* Sat Aug 18 2007 Till Maas - 1.4.3-1 +- initial spec for Fedora