libusb-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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: 2%{?_dist_release}
  7. Group: System Environment/Libraries
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: LGPL
  11. URL: https://sourceforge.net/projects/libusb/
  12. Source0: https://prdownloads.sourceforge.net/libusb/%{name}-compat-%{version}.tar.bz2
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: libusb1-devel
  15. BuildRequires: docbook-utils
  16. BuildRequires: docbook-dtds >= 1.0
  17. %{?nosrc:NoSource: 0}
  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. %license COPYING LICENSE
  47. %doc AUTHORS README INSTALL NEWS ChangeLog
  48. %{_bindir}/libusb-config
  49. %{_includedir}/*
  50. %{_libdir}/*.so
  51. %{_libdir}/pkgconfig/*.pc
  52. %changelog
  53. * Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1:0.1.5-2
  54. - rebuilt with current environment.
  55. * Sat Jul 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1:0.1.5-1
  56. - replaced sources to "libusb-compat".
  57. * Thu Jul 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.12-5
  58. - rebuild with gcc-5.4.0
  59. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.12-4
  60. - rebuild with VineSeed environment
  61. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.12-3
  62. - rebuilt with rpm-4.8.1 for pkg-config file
  63. - removed static library from devel package
  64. * Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.1.12-2
  65. - spec in utf-8
  66. * Sun May 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.12-1
  67. - applied new versioning policy
  68. - removed lib*.la from devel package
  69. * Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.1.12-0vl2
  70. - rebuilt with new toolchain
  71. * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.12-0vl1
  72. - new upstream release
  73. * Sun Jul 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.10a-0vl1
  74. - new upstream release
  75. * Sat Jan 03 2004 Satoshi MACHINO <machino@vinelinux.org> 0.1.8-0vl1
  76. - new upstream version
  77. -- libusb-0.1.8
  78. -- run aclocal/autoconf to make shared libraries
  79. * Sun Nov 16 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.1.7-0vl2
  80. - rebuild
  81. * Sun Jan 19 2003 Masaki Shinomiya <shino@pos.to> 0.1.7-0vl1
  82. - for Vine Linux 2.6
  83. * Sun Dec 15 2002 Masaki Shinomiya <shino@pos.to> 0.1.7-0
  84. - new upstream release
  85. * Fri Jun 21 2002 Masaki Shinomiya <shino@pos.to> 0.1.5-0
  86. - omit buildrequire docbook-dtds, omit manual.ps
  87. * Thu Apr 11 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-3
  88. - Rebuild (fixes bug #63196).
  89. * Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-2
  90. - Rebuild in new environment.
  91. * Thu Feb 7 2002 Tim Waugh <twaugh@redhat.com> 0.1.5-1
  92. - 0.1.5.
  93. * Fri Jan 25 2002 Tim Waugh <twaugh@redhat.com> 0.1.4-2
  94. - Rebuild in new environment.
  95. - Work around tarball brokenness (doc directory was not automade).
  96. * Mon Oct 29 2001 Tim Waugh <twaugh@redhat.com> 0.1.4-1
  97. - Adapted for Red Hat Linux.
  98. - 0.1.4.
  99. * Thu Mar 1 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.1.3b-1mdk
  100. - Initial Mandrake release