Initial commit
This commit is contained in:
parent
4646904c53
commit
741eb46652
@ -0,0 +1 @@
|
||||
libatasmart-0.1.tar.gz
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
libatasmart-0_1-1_fc10:HEAD:libatasmart-0.1-1.fc10.src.rpm:1217267819
|
57
libatasmart.spec
Normal file
57
libatasmart.spec
Normal file
@ -0,0 +1,57 @@
|
||||
Name: libatasmart
|
||||
Version: 0.1
|
||||
Release: 1%{?dist}
|
||||
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
|
||||
Summary: Development Files for libatasmart client development
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Development Files for libatasmart client development
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-rpath
|
||||
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
|
||||
* Fri Jul 25 2008 Lennart Poettering <lpoetter@redhat.com> 0.1-1
|
||||
- Initial version
|
Loading…
Reference in New Issue
Block a user