Commit | Line | Data |
---|---|---|
3a07e3fb TJ |
1 | Summary: library for accessing information from ipt_ACCOUNT kernel module |
2 | Name: libipt_ACCOUNT | |
3 | Version: @VERSION@ | |
4 | Release: 1 | |
5 | Copyright: LGPL | |
6 | Group: Development/Libraries | |
7 | Vendor: Intra2net AG | |
8 | Source: %{name}-%{version}.tar.gz | |
9 | Buildroot: /tmp/%{name}-%{version}-root | |
10 | Prefix: /usr | |
11 | BuildPrereq: libtool | |
12 | ||
13 | %description | |
14 | library for accessing information from ipt_ACCOUNT kernel module | |
15 | ||
16 | %package devel | |
17 | Summary: library for access to Intranator configuration entries | |
18 | Group: Development/Libraries | |
19 | Requires: libipt_ACCOUNT = %{version} | |
20 | ||
21 | %description devel | |
22 | library for accessing information from ipt_ACCOUNT kernel module | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | cp -f /usr/share/libtool/ltmain.sh . | |
29 | autoreconf --force | |
30 | ./configure --prefix=%{prefix} | |
31 | make | |
32 | ||
33 | %install | |
34 | make DESTDIR=$RPM_BUILD_ROOT install | |
35 | ||
36 | %clean | |
37 | rm -fr $RPM_BUILD_ROOT | |
38 | ||
39 | %post | |
40 | /sbin/ldconfig | |
41 | ||
42 | %files | |
43 | %defattr(-,root,root) | |
4e2cc14a | 44 | %{prefix}/bin/* |
3a07e3fb TJ |
45 | %{prefix}/lib/libipt_ACCOUNT.so* |
46 | ||
47 | %files devel | |
48 | %defattr(-,root,root) | |
49 | %{prefix}/lib/pkgconfig/*.pc | |
50 | %{prefix}/include/* |