libatasmart/libatasmart.spec

69 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:54:55 -04:00
Name: libatasmart
Version: 0.19
2020-09-11 14:11:29 +08:00
Release: 18
2019-09-30 10:54:55 -04:00
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library
License: LGPLv2+
URL: https://github.com/Rupan/libatasmart
2020-09-11 14:11:29 +08:00
Source0: https://src.fedoraproject.org/repo/pkgs/libatasmart/libatasmart-0.19.tar.xz/md5/53afe2b155c36f658e121fe6def33e77/libatasmart-0.19.tar.xz
2019-09-30 10:54:55 -04:00
Patch0: libatasmart-0.19-wd-fix.patch
BuildRequires: gcc systemd-devel
%description
a lean, small and clean implementation of an ATA S.M.A.R.T. reading and parsing library.
%package devel
Summary: Development Files for libatasmart Client Development
Requires: %{name} = %{version}-%{release} pkgconfig vala
%description devel
Development Files for libatasmart Client Development
%package_help
%ldconfig_scriptlets
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
%make_install
%delete_la_and_a
%files
%defattr(-,root,root)
2019-11-06 19:37:04 +08:00
%license LGPL
2019-09-30 10:54:55 -04:00
%{_libdir}/*.so.*
%{_sbindir}/*
%files devel
%defattr(-,root,root)
%{_includedir}/atasmart.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_datadir}/vala/*/*.vapi
%exclude %{_docdir}/libatasmart/README
%files help
%defattr(-,root,root)
%doc README */SAMSUNG* */ST* */Maxtor* */WDC* */FUJITSU* */INTEL* */TOSHIBA* */MCC*
%changelog
2020-09-11 14:11:29 +08:00
* Fri Sep 11 2020 lunankun <lunankun@huawei.com> - 0.19-18
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix source0 url
2019-11-06 19:37:04 +08:00
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.19-17
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license file
2019-09-30 10:54:55 -04:00
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.19-16
- Package init