Name: ddate
Version: 0.2.1
Release: 2%{?dist}
Summary: Convert Gregorian dates to Discordian dates
Group: Applications/Text
License: Public Domain
URL: https://github.com/bo0ts/%{name}/tree/
Source0: https://github.com/bo0ts/%{name}/archive/v%{version}.tar.gz
# In upstream after 0.2.1
Patch0: %{name}-0.2.1-Correct-path-for-manpage.patch
# In upstream after 0.2.1
Patch1: %{name}-0.2.1-Change-ddate-availability.patch
BuildRequires: cmake
%description
This tool prints a date in the Discordian date format.
%prep
%setup -qn %{name}-%{version}
%patch0 -p1
%patch1 -p1
%build
%cmake .
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%check
ctest
%files
%doc README.org
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jun 18 2013 Petr Pisar <ppisar@redhat.com> - 0.2.1-1
- Version 0.2.1 packaged