source: projects/specs/trunk/d/datefudge/datefudge-vl.spec @ 11891

Revision 11891, 2.2 KB checked in by tomop, 5 years ago (diff)

datefudge-1.22-1

Line 
1Name:           datefudge
2Version:        1.22
3Release:        1%{?_dist_release}
4Summary:        Fake the system date
5
6License:        GPLv2+
7URL:            http://packages.qa.debian.org/d/datefudge.html
8Source0:        http://cdn.debian.net/debian/pool/main/d/datefudge/%{name}_%{version}.tar.xz
9
10Vendor: Project Vine
11Distribution: Vine Linux
12
13%description
14This program (and preload library) fakes the system date so that
15programs think the wall clock is ... different. The faking is not
16complete; time-stamp on files are not affected in any way. This
17package is useful if you want to test the date handling of your
18programs without changing the system clock.
19
20%prep
21%setup -q
22sed "s/VERSION := \$\(.*\)/VERSION := %{version}/g" -i Makefile
23sed 's/-o root -g root/-p/g' -i Makefile
24
25%build
26LDFLAGS="%{?__global_ldflags}" CFLAGS="%{optflags}" make libdir=%{_libexecdir} %{?_smp_mflags}
27
28%install
29make install DESTDIR=%{buildroot} libdir=%{_libexecdir}
30chmod +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
Note: See TracBrowser for help on using the repository browser.