1 | Name: datefudge |
---|
2 | Version: 1.22 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Fake the system date |
---|
5 | |
---|
6 | License: GPLv2+ |
---|
7 | URL: http://packages.qa.debian.org/d/datefudge.html |
---|
8 | Source0: http://cdn.debian.net/debian/pool/main/d/datefudge/%{name}_%{version}.tar.xz |
---|
9 | |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | |
---|
13 | %description |
---|
14 | This program (and preload library) fakes the system date so that |
---|
15 | programs think the wall clock is ... different. The faking is not |
---|
16 | complete; time-stamp on files are not affected in any way. This |
---|
17 | package is useful if you want to test the date handling of your |
---|
18 | programs without changing the system clock. |
---|
19 | |
---|
20 | %prep |
---|
21 | %setup -q |
---|
22 | sed "s/VERSION := \$\(.*\)/VERSION := %{version}/g" -i Makefile |
---|
23 | sed 's/-o root -g root/-p/g' -i Makefile |
---|
24 | |
---|
25 | %build |
---|
26 | LDFLAGS="%{?__global_ldflags}" CFLAGS="%{optflags}" make libdir=%{_libexecdir} %{?_smp_mflags} |
---|
27 | |
---|
28 | %install |
---|
29 | make install DESTDIR=%{buildroot} libdir=%{_libexecdir} |
---|
30 | chmod +x %{buildroot}/%{_libexecdir}/%{name}/datefudge.so #for stripping |
---|
31 | |
---|
32 | %files |
---|
33 | %{_libexecdir}/%{name} |
---|
34 | |
---|
35 | %license COPYING |
---|
36 | %doc README |
---|
37 | %{_mandir}/man1/datefudge.1* |
---|
38 | %{_bindir}/datefudge |
---|
39 | |
---|
40 | %changelog |
---|
41 | * Thu Nov 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.22-1 |
---|
42 | - new upstream release. |
---|
43 | |
---|
44 | * Thu Jul 7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.20-4 |
---|
45 | - initial build for Vine Linux. |
---|
46 | |
---|
47 | * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-3 |
---|
48 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
49 | |
---|
50 | * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2 |
---|
51 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
52 | |
---|
53 | * Wed Dec 3 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.20-1 |
---|
54 | - New upstream release |
---|
55 | |
---|
56 | * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4 |
---|
57 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
58 | |
---|
59 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3 |
---|
60 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
61 | |
---|
62 | * Mon Nov 18 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-2 |
---|
63 | - Removed support for EL5 |
---|
64 | - Apply build LDFLAGS and CFLAGS. |
---|
65 | |
---|
66 | * Wed Nov 13 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-1 |
---|
67 | - Initial version of the package |
---|