46 lines
1.3 KiB
RPMSpec
46 lines
1.3 KiB
RPMSpec
Name: datefudge
|
|
Version: 1.18
|
|
Release: 3%{?dist}
|
|
Summary: Fake the system date
|
|
|
|
License: GPLv2+
|
|
URL: http://packages.qa.debian.org/d/datefudge.html
|
|
Source0: http://cdn.debian.net/debian/pool/main/d/datefudge/%{name}_%{version}.tar.gz
|
|
Patch0: datefudge-make.patch
|
|
|
|
%description
|
|
This program (and preload library) fakes the system date so that
|
|
programs think the wall clock is ... different. The faking is not
|
|
complete; time-stamp on files are not affected in any way. This
|
|
package is useful if you want to test the date handling of your
|
|
programs without changing the system clock.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
LDFLAGS="%{__global_ldflags}" CFLAGS="%{optflags}" make libdir=%{_libexecdir}/%{name} %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot} libdir=%{_libexecdir}/%{name}
|
|
chmod +x %{buildroot}/%{_libexecdir}/%{name}/datefudge.so #for stripping
|
|
|
|
%files
|
|
%{_libexecdir}/%{name}
|
|
|
|
%doc README COPYING
|
|
%{_mandir}/man1/datefudge.1*
|
|
%{_bindir}/datefudge
|
|
|
|
%changelog
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Mon Nov 18 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-2
|
|
- Removed support for EL5
|
|
- Apply build LDFLAGS and CFLAGS.
|
|
|
|
* Wed Nov 13 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-1
|
|
- Initial version of the package
|