libatasmart/libatasmart.spec

61 lines
1.4 KiB
RPMSpec
Raw Normal View History

2008-07-28 17:58:16 +00:00
Name: libatasmart
Version: 0.1
Release: 2%{?dist}
2008-07-28 17:58:16 +00:00
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library
Group: System Environment/Libraries
Source0: http://0pointer.de/public/libatasmart-%{version}.tar.gz
License: LGPLv2+
Url: http://git.0pointer.de/?p=libatasmart.git;a=summary
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
A small and lightweight parser library for ATA S.M.A.R.T. hard disk
health monitoring.
%package devel
2008-07-28 18:17:19 +00:00
Summary: Development Files for libatasmart Client Development
2008-07-28 17:58:16 +00:00
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
2008-07-28 18:17:19 +00:00
Development Files for libatasmart Client Development
2008-07-28 17:58:16 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%prep
%setup -q
%build
2008-07-28 18:17:19 +00:00
%configure --disable-static
2008-07-28 17:58:16 +00:00
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README LGPL
%{_libdir}/libatasmart.so.*
%{_sbindir}/skdump
%{_sbindir}/sktest
%files devel
%defattr(-,root,root)
%{_includedir}/atasmart.h
%{_libdir}/libatasmart.so
%{_libdir}/pkgconfig/libatasmart.pc
%changelog
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-07-28 17:58:16 +00:00
* Fri Jul 25 2008 Lennart Poettering <lpoetter@redhat.com> 0.1-1
- Initial version