libatasmart-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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.16
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. Source0: http://0pointer.de/public/libatasmart-%{version}.tar.gz
  8. License: LGPLv2+
  9. Url: http://git.0pointer.de/?p=libatasmart.git;a=summary
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: libudev-devel
  12. %description
  13. A small and lightweight parser library for ATA S.M.A.R.T. hard disk
  14. health monitoring.
  15. %package devel
  16. Summary: Development Files for libatasmart Client Development
  17. Summary(ja): libatasmart の開発ファイル
  18. Group: Development/Libraries
  19. Requires: %{name} = %{version}-%{release}
  20. Requires: pkgconfig
  21. Requires: vala
  22. %description devel
  23. Development Files for libatasmart Client Development
  24. %post -p /sbin/ldconfig
  25. %postun -p /sbin/ldconfig
  26. %prep
  27. %setup -q
  28. %build
  29. %configure --disable-static
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. make DESTDIR=$RPM_BUILD_ROOT install
  34. find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
  35. rm $RPM_BUILD_ROOT%{_docdir}/libatasmart/README
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root)
  40. %doc README LGPL
  41. %{_libdir}/libatasmart.so.*
  42. %{_sbindir}/skdump
  43. %{_sbindir}/sktest
  44. %files devel
  45. %defattr(-,root,root)
  46. %{_includedir}/atasmart.h
  47. %{_libdir}/libatasmart.so
  48. %{_libdir}/pkgconfig/libatasmart.pc
  49. %{_datadir}/vala/vapi/atasmart.vapi
  50. %doc blob-examples/SAMSUNG* blob-examples/ST* blob-examples/Maxtor* blob-examples/WDC* blob-examples/FUJITSU* blob-examples/INTEL* blob-examples/TOSHIBA*
  51. %changelog
  52. * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.16-1
  53. - initial build for Vine Linux
  54. * Tue Sep 29 2009 Lennart Poettering <lpoetter@redhat.com> 0.16-1
  55. - New upstream release
  56. - Second try at fixing #515881
  57. * Fri Sep 18 2009 Lennart Poettering <lpoetter@redhat.com> 0.15-1
  58. - New upstream release
  59. - Fixes #515881
  60. * Thu Aug 6 2009 Lennart Poettering <lpoetter@redhat.com> 0.14-1
  61. - New upstream release
  62. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  64. * Wed Apr 22 2009 Lennart Poettering <lpoetter@redhat.com> 0.13-1
  65. - New upstream release
  66. * Wed Apr 15 2009 Lennart Poettering <lpoetter@redhat.com> 0.12-1
  67. - New upstream release
  68. * Tue Apr 14 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-1
  69. - New upstream release
  70. * Mon Apr 13 2009 Lennart Poettering <lpoetter@redhat.com> 0.10-1
  71. - New upstream release
  72. * Sun Apr 12 2009 Lennart Poettering <lpoetter@redhat.com> 0.9-1
  73. - New upstream release
  74. * Fri Apr 10 2009 Lennart Poettering <lpoetter@redhat.com> 0.8-1
  75. - New upstream release
  76. * Tue Apr 7 2009 Lennart Poettering <lpoetter@redhat.com> 0.7-1
  77. - New upstream release
  78. * Sat Apr 5 2009 Lennart Poettering <lpoetter@redhat.com> 0.6-1
  79. - New upstream release
  80. * Fri Apr 3 2009 Lennart Poettering <lpoetter@redhat.com> 0.5-1
  81. - New upstream release
  82. * Thu Apr 2 2009 Lennart Poettering <lpoetter@redhat.com> 0.4-1
  83. - New upstream release
  84. * Tue Mar 24 2009 Lennart Poettering <lpoetter@redhat.com> 0.3-1
  85. - New upstream release
  86. * Thu Mar 19 2009 Lennart Poettering <lpoetter@redhat.com> 0.2-1
  87. - New upstream release
  88. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-2
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  90. * Fri Jul 25 2008 Lennart Poettering <lpoetter@redhat.com> 0.1-1
  91. - Initial version