]>
Commit | Line | Data |
---|---|---|
91dedbd3 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
91dedbd3 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = libatasmart |
7 | version = 0.17 | |
8 | release = 1 | |
91dedbd3 | 9 | |
802ea3af MT |
10 | groups = System/Statistics |
11 | url = http://git.0pointer.de/?p=libatasmart.git;a=summary | |
12 | license = LGPLv2+ | |
13 | summary = ATA S.M.A.R.T. Disk Health Monitoring Library. | |
91dedbd3 | 14 | |
802ea3af | 15 | description |
91dedbd3 MT |
16 | A scmall and lightweight parser library for ATA S.M.A.R.T. hard disk \ |
17 | health monitoring. | |
802ea3af MT |
18 | end |
19 | ||
20 | source_dl = | |
21 | sources = %{thisapp}.tar.gz | |
22 | ||
23 | build | |
24 | requires | |
25 | libudev-devel | |
26 | pkg-config | |
27 | end | |
28 | ||
29 | configure_options += \ | |
30 | --libdir=/lib | |
31 | ||
32 | install_cmds | |
33 | -mkdir -pv %{BUILDROOT}/usr/lib | |
34 | mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/ | |
35 | ||
36 | rm -vf %{BUILDROOT}/lib/libatasmart.so | |
37 | ln -svf ../../lib/libatasmart.so.4 %{BUILDROOT}/usr/lib/libatasmart.so | |
38 | end | |
39 | end | |
40 | ||
41 | packages | |
42 | package %{name} | |
43 | end | |
1f9bc2f0 | 44 | |
802ea3af MT |
45 | package %{name}-devel |
46 | template DEVEL | |
47 | end | |
1f9bc2f0 MT |
48 | |
49 | package %{name}-debuginfo | |
50 | template DEBUGINFO | |
51 | end | |
802ea3af | 52 | end |