fprint_demo-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Summary: Demo of the fprint drivers
  2. Summary(ja): fprint ドライバのデモプログラム
  3. Name: fprint_demo
  4. Version: 0.4
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Base
  7. License: GPLv2
  8. URL: http://www.reactivated.net/fprint/wiki/Main_Page
  9. Source0: http://downloads.sourceforge.net/fprint/%{name}-%{version}.tar.bz2
  10. Source1: %{name}.desktop
  11. Source2: fprint-icon.png
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: fprintd-devel libfprint-devel gtk2-devel desktop-file-utils
  14. Requires: fprintd-pam
  15. %description
  16. Graphical tool to demonstrate how works for the fprint drivers
  17. %prep
  18. %setup -q
  19. %build
  20. %configure
  21. make %{?_smp_mflags}
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. make install DESTDIR=$RPM_BUILD_ROOT
  25. install -Dm 0755 -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/fprint-icon.png
  26. desktop-file-install --vendor="fedora" \
  27. --dir=%{buildroot}%{_datadir}/applications/ \
  28. --mode 0644 \
  29. %{SOURCE1}
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc INSTALL COPYING AUTHORS NEWS README
  35. %{_bindir}/%{name}
  36. %{_datadir}/applications/fedora-%{name}.desktop
  37. %{_datadir}/pixmaps/fprint-icon.png
  38. %changelog
  39. * Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
  40. - new versioning policy
  41. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-5
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  43. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4-4
  44. - Autorebuild for GCC 4.3
  45. * Sat Jan 12 2008 Pingou <pingoufc4@yahoo.fr> 0.4-3
  46. - Change the directory of the icon
  47. * Sun Jan 06 2008 Pingou <pingoufc4@yahoo.fr> 0.4-2
  48. - Add the .desktop file
  49. * Sat Nov 24 2007 Pingou <pingoufc4@yahoo.fr> 0.4-1
  50. - First release