libusb-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Summary: A library which allows userspace access to USB devices.
  2. Summary(ja): ユーザスペースから USB デバイスにアクセスするためのライブラリ
  3. Name: libusb
  4. Version: 0.1.12
  5. Release: 3%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPL
  8. URL: http://sourceforge.net/projects/libusb/
  9. Source0: http://prdownloads.sourceforge.net/libusb/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: docbook-utils
  12. BuildRequires: docbook-dtds >= 1.0
  13. %{?nosrc:NoSource: 0}
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. This package provides a way for applications to access USB devices.
  18. %package devel
  19. Summary: Development files for libusb.
  20. Summary(ja): libusb の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}
  23. %description devel
  24. This package contains the header files and documentation needed to
  25. develop applications that use libusb.
  26. %prep
  27. %setup -q
  28. %build
  29. %configure --disable-static
  30. make
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. make install DESTDIR=$RPM_BUILD_ROOT
  34. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %post -p /sbin/ldconfig
  38. %postun -p /sbin/ldconfig
  39. %files
  40. %defattr(-,root,root)
  41. %{_libdir}/*.so.*
  42. %files devel
  43. %defattr(-,root,root)
  44. %doc AUTHORS README INSTALL.libusb NEWS ChangeLog doc/html
  45. %{_bindir}/libusb-config
  46. %{_includedir}/*
  47. %{_libdir}/*.so
  48. #{_libdir}/*.a
  49. #{_libdir}/*.la
  50. %{_libdir}/pkgconfig/*.pc
  51. %changelog
  52. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.12-3
  53. - rebuilt with rpm-4.8.1 for pkg-config file
  54. - removed static library from devel package
  55. * Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.1.12-2
  56. - spec in utf-8
  57. * Sun May 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.12-1
  58. - applied new versioning policy
  59. - removed lib*.la from devel package
  60. * Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.1.12-0vl2
  61. - rebuilt with new toolchain
  62. * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.12-0vl1
  63. - new upstream release
  64. * Sun Jul 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.10a-0vl1
  65. - new upstream release
  66. * Mon Jan 03 2004 Satoshi MACHINO <machino@vinelinux.org> 0.1.8-0vl1
  67. - new upstream version
  68. -- libusb-0.1.8
  69. -- run aclocal/autoconf to make shared libraries
  70. * Sun Nov 16 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.1.7-0vl2
  71. - rebuild
  72. * Sun Jan 19 2003 Masaki Shinomiya <shino@pos.to> 0.1.7-0vl1
  73. - for Vine Linux 2.6
  74. * Sun Dec 15 2002 Masaki Shinomiya <shino@pos.to> 0.1.7-0
  75. - new upstream release
  76. * Fri Jun 21 2002 Masaki Shinomiya <shino@pos.to> 0.1.5-0
  77. - omit buildrequire docbook-dtds, omit manual.ps
  78. * Thu Apr 11 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-3
  79. - Rebuild (fixes bug #63196).
  80. * Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-2
  81. - Rebuild in new environment.
  82. * Thu Feb 7 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-1
  83. - 0.1.5.
  84. * Fri Jan 25 2002 Tim Waugh <twaugh@redhat.com> 0.1.4-2
  85. - Rebuild in new environment.
  86. - Work around tarball brokenness (doc directory was not automade).
  87. * Mon Oct 29 2001 Tim Waugh <twaugh@redhat.com> 0.1.4-1
  88. - Adapted for Red Hat Linux.
  89. - 0.1.4.
  90. * Thu Mar 1 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.1.3b-1mdk
  91. - Initial Mandrake release