From a25e09c2afad65ce166654e18683df3b4e0bac67 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 8 May 2023 11:18:12 +0200 Subject: [PATCH] import sources --- .gitignore | 1 + datefudge.spec | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 77 insertions(+) create mode 100644 .gitignore create mode 100644 datefudge.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..12dbde2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/datefudge_1.22.tar.xz diff --git a/datefudge.spec b/datefudge.spec new file mode 100644 index 0000000..557bb94 --- /dev/null +++ b/datefudge.spec @@ -0,0 +1,75 @@ +Name: datefudge +Version: 1.22 +Release: 2%{?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.xz + +%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 +sed "s/VERSION := \$\(.*\)/VERSION := %{version}/g" -i Makefile +sed 's/-o root -g root/-p/g' -i Makefile + +%build +LDFLAGS="%{__global_ldflags}" CFLAGS="%{optflags}" make libdir=%{_libexecdir} %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} libdir=%{_libexecdir} +chmod +x %{buildroot}/%{_libexecdir}/%{name}/datefudge.so #for stripping + +%files +%{_libexecdir}/%{name} + +%doc README COPYING +%{_mandir}/man1/datefudge.1* +%{_bindir}/datefudge + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Aug 11 2017 Nikos Mavrogiannopoulos - 1.22-1 +- New upstream release + +* Wed Aug 02 2017 Fedora Release Engineering - 1.21-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.21-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Sep 2 2016 Nikos Mavrogiannopoulos - 1.21-1 +- New upstream release + +* Wed Feb 03 2016 Fedora Release Engineering - 1.20-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Dec 3 2014 Nikos Mavrogiannopoulos - 1.20-1 +- New upstream release + +* Sat Aug 16 2014 Fedora Release Engineering - 1.18-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Nov 18 2013 Nikos Mavrogiannopoulos - 1.18-2 +- Removed support for EL5 +- Apply build LDFLAGS and CFLAGS. + +* Wed Nov 13 2013 Nikos Mavrogiannopoulos - 1.18-1 +- Initial version of the package diff --git a/sources b/sources new file mode 100644 index 0000000..3c89c97 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (datefudge_1.22.tar.xz) = ed67d334ca8296ae1c7b5ee1efc6ec7aafaad0aeb9f0f0387245c2eeea94ccc59ab804778b93ab8b34a512b83a3ec81d10f341d4f4f22b4a07fccdadaefb6d8b