datefudge-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Name: datefudge
  2. Version: 1.20
  3. Release: 4%{?_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.gz
  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 Jul 7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.20-4
  33. - initial build for Vine Linux.
  34. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-3
  35. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  36. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
  37. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  38. * Wed Dec 3 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.20-1
  39. - New upstream release
  40. * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
  41. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  42. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
  43. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  44. * Mon Nov 18 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-2
  45. - Removed support for EL5
  46. - Apply build LDFLAGS and CFLAGS.
  47. * Wed Nov 13 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-1
  48. - Initial version of the package