datefudge-vl.spec 2.2 KB

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