###############################################################################
name = libatasmart
-version = 0.17
+version = 0.19
release = 1
groups = System/Statistics
summary = ATA S.M.A.R.T. Disk Health Monitoring Library.
description
- A scmall and lightweight parser library for ATA S.M.A.R.T. hard disk \
+ A scmall and lightweight parser library for ATA S.M.A.R.T. hard disk
health monitoring.
end
-source_dl =
-sources = %{thisapp}.tar.gz
+source_dl = http://0pointer.de/public/
+sources = %{thisapp}.tar.xz
build
requires
libudev-devel
- pkg-config
- end
-
- configure_options += \
- --libdir=/lib
-
- install_cmds
- -mkdir -pv %{BUILDROOT}/usr/lib
- mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/
-
- rm -vf %{BUILDROOT}/lib/libatasmart.so
- ln -svf ../../lib/libatasmart.so.4 %{BUILDROOT}/usr/lib/libatasmart.so
end
end
packages
package %{name}
- end
-
+
package %{name}-devel
template DEVEL
end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
end