libatasmart/libatasmart.spec

83 lines
2.1 KiB
RPMSpec
Raw Normal View History

2008-07-28 17:58:16 +00:00
Name: libatasmart
2009-04-10 03:30:37 +00:00
Version: 0.8
2009-03-19 00:32:48 +00:00
Release: 1%{?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)
2009-04-10 03:32:22 +00:00
BuildRequires: libudev-devel
2008-07-28 17:58:16 +00:00
%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
2009-04-10 03:30:37 +00:00
* Fri Apr 10 2009 Lennart Poettering <lpoetter@redhat.com> 0.8-1
- New upstream release
2009-04-07 20:08:46 +00:00
* Tue Apr 7 2009 Lennart Poettering <lpoetter@redhat.com> 0.7-1
- New upstream release
2009-04-05 17:01:49 +00:00
* Sat Apr 5 2009 Lennart Poettering <lpoetter@redhat.com> 0.6-1
- New upstream release
2009-04-03 17:54:09 +00:00
* Fri Apr 3 2009 Lennart Poettering <lpoetter@redhat.com> 0.5-1
- New upstream release
2009-04-02 21:54:36 +00:00
* Thu Apr 2 2009 Lennart Poettering <lpoetter@redhat.com> 0.4-1
- New upstream release
2009-03-24 01:00:28 +00:00
* Tue Mar 24 2009 Lennart Poettering <lpoetter@redhat.com> 0.3-1
- New upstream release
2009-03-19 00:32:48 +00:00
* Thu Mar 19 2009 Lennart Poettering <lpoetter@redhat.com> 0.2-1
- New upstream release
* 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