libusb-vl.spec 3.5 KB

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