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

Revision 10557, 2.1 KB checked in by tomop, 8 years ago (diff)

datefudge-1.20-4

Line 
1Name:           datefudge
2Version:        1.20
3Release:        4%{?_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.gz
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 Jul  7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.20-4
42- initial build for Vine Linux.
43
44* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-3
45- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
46
47* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
48- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
49
50* Wed Dec  3 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.20-1
51- New upstream release
52
53* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
54- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
55
56* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
57- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
58
59* Mon Nov 18 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-2
60- Removed support for EL5
61- Apply build LDFLAGS and CFLAGS.
62
63* Wed Nov 13 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-1
64- Initial version of the package
Note: See TracBrowser for help on using the repository browser.