libatasmart-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Summary: ATA S.M.A.R.T. Disk Health Monitoring Library
  2. Summary(ja): ATA S.M.A.R.T. ディスクモニタリングライブラリ
  3. Name: libatasmart
  4. Version: 0.19
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. Distribution: Vine Linux
  8. Vendor: Project Vine
  9. License: LGPLv2+
  10. Url: http://git.0pointer.de/?p=libatasmart.git;a=summary
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. Source0: http://0pointer.de/public/libatasmart-%{version}.tar.xz
  13. Patch0: libatasmart-0.19-wd-fix.patch
  14. BuildRequires: libudev-devel
  15. %description
  16. A small and lightweight parser library for ATA S.M.A.R.T. hard disk
  17. health monitoring.
  18. %package devel
  19. Summary: Development Files for libatasmart Client Development
  20. Summary(ja): libatasmart の開発ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: pkgconfig
  24. Requires: vala
  25. %description devel
  26. Development Files for libatasmart Client Development
  27. %post -p /sbin/ldconfig
  28. %postun -p /sbin/ldconfig
  29. %prep
  30. %setup -q
  31. %autopatch -p1
  32. %build
  33. %configure --disable-static
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make DESTDIR=$RPM_BUILD_ROOT install
  38. find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
  39. rm $RPM_BUILD_ROOT%{_docdir}/libatasmart/README
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root)
  44. %license LGPL
  45. %doc README
  46. %{_libdir}/libatasmart.so.*
  47. %{_sbindir}/skdump
  48. %{_sbindir}/sktest
  49. %files devel
  50. %defattr(-,root,root)
  51. %{_includedir}/atasmart.h
  52. %{_libdir}/libatasmart.so
  53. %{_libdir}/pkgconfig/libatasmart.pc
  54. %{_datadir}/vala/vapi/atasmart.vapi
  55. %doc blob-examples/SAMSUNG* blob-examples/ST* blob-examples/Maxtor* blob-examples/WDC* blob-examples/FUJITSU* blob-examples/INTEL* blob-examples/TOSHIBA*
  56. %changelog
  57. * Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.19-2
  58. - import Patch0 from rawhide.
  59. * Sun May 17 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19-1
  60. - update to 0.19
  61. * Tue Jun 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-2
  62. - change BuildRequires: eudev-libudev-deve instead of libudev-devel
  63. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-1
  64. - new upstream release
  65. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16-2
  66. - rebuild with rpm-4.8.1 for pkg-config file
  67. * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.16-1
  68. - initial build for Vine Linux
  69. * Tue Sep 29 2009 Lennart Poettering <lpoetter@redhat.com> 0.16-1
  70. - New upstream release
  71. - Second try at fixing #515881
  72. * Fri Sep 18 2009 Lennart Poettering <lpoetter@redhat.com> 0.15-1
  73. - New upstream release
  74. - Fixes #515881
  75. * Thu Aug 6 2009 Lennart Poettering <lpoetter@redhat.com> 0.14-1
  76. - New upstream release
  77. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  79. * Wed Apr 22 2009 Lennart Poettering <lpoetter@redhat.com> 0.13-1
  80. - New upstream release
  81. * Wed Apr 15 2009 Lennart Poettering <lpoetter@redhat.com> 0.12-1
  82. - New upstream release
  83. * Tue Apr 14 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-1
  84. - New upstream release
  85. * Mon Apr 13 2009 Lennart Poettering <lpoetter@redhat.com> 0.10-1
  86. - New upstream release
  87. * Sun Apr 12 2009 Lennart Poettering <lpoetter@redhat.com> 0.9-1
  88. - New upstream release
  89. * Fri Apr 10 2009 Lennart Poettering <lpoetter@redhat.com> 0.8-1
  90. - New upstream release
  91. * Tue Apr 7 2009 Lennart Poettering <lpoetter@redhat.com> 0.7-1
  92. - New upstream release
  93. * Sun Apr 5 2009 Lennart Poettering <lpoetter@redhat.com> 0.6-1
  94. - New upstream release
  95. * Fri Apr 3 2009 Lennart Poettering <lpoetter@redhat.com> 0.5-1
  96. - New upstream release
  97. * Thu Apr 2 2009 Lennart Poettering <lpoetter@redhat.com> 0.4-1
  98. - New upstream release
  99. * Tue Mar 24 2009 Lennart Poettering <lpoetter@redhat.com> 0.3-1
  100. - New upstream release
  101. * Thu Mar 19 2009 Lennart Poettering <lpoetter@redhat.com> 0.2-1
  102. - New upstream release
  103. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-2
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  105. * Fri Jul 25 2008 Lennart Poettering <lpoetter@redhat.com> 0.1-1
  106. - Initial version