fprint_demo-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Summary: Demo of the fprint drivers
  2. Summary(ja): fprint ドライバのデモプログラム
  3. Name: fprint_demo
  4. Version: 0.4
  5. Release: 2%{?_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}-root
  13. BuildRequires: fprintd-devel
  14. BuildRequires: libfprint-devel
  15. BuildRequires: gtk2-devel
  16. BuildRequires: desktop-file-utils
  17. Requires: fprintd-pam
  18. %description
  19. Graphical tool to demonstrate how works for the fprint drivers
  20. %prep
  21. %setup -q
  22. %build
  23. %configure
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make install DESTDIR=$RPM_BUILD_ROOT
  28. install -Dm 0755 -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/fprint-icon.png
  29. desktop-file-install --vendor="vine" \
  30. --dir=%{buildroot}%{_datadir}/applications/ \
  31. --mode 0644 \
  32. %{SOURCE1}
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc INSTALL COPYING AUTHORS NEWS README
  38. %{_bindir}/%{name}
  39. %{_datadir}/applications/*.desktop
  40. %{_datadir}/pixmaps/fprint-icon.png
  41. %changelog
  42. * Tue May 3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4-2
  43. - rebuilt with current VineSeed
  44. * Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
  45. - new versioning policy
  46. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-5
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  48. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4-4
  49. - Autorebuild for GCC 4.3
  50. * Sat Jan 12 2008 Pingou <pingoufc4@yahoo.fr> 0.4-3
  51. - Change the directory of the icon
  52. * Sun Jan 06 2008 Pingou <pingoufc4@yahoo.fr> 0.4-2
  53. - Add the .desktop file
  54. * Sat Nov 24 2007 Pingou <pingoufc4@yahoo.fr> 0.4-1
  55. - First release