Commit | Line | Data |
---|---|---|
e93545dd GE |
1 | Summary: library with functions common in Intra2net programs |
2 | Name: libi2ncommon | |
3 | Version: ##VERSION## | |
4 | Release: 1 | |
16c2256f | 5 | License: Intranator License |
e93545dd GE |
6 | Group: Intranator |
7 | Vendor: Intra2net AG | |
8 | Source: %{name}-%{version}.tar.gz | |
9 | Buildroot: /tmp/%{name}-%{version}-root | |
10 | Prefix: /usr/intranator | |
11 | Requires: libgettext | |
12 | BuildPrereq: libtool | |
16c2256f RP |
13 | BuildRequires: boost-devel >= 1.32.0 |
14 | ||
e93545dd GE |
15 | |
16 | %description | |
17 | library with functions common in Intra2net programs | |
18 | ||
19 | %package devel | |
20 | Summary: library with functions common in Intra2net programs | |
21 | Group: Intranator/Development | |
22 | Requires: libi2ncommon = %{version} libgettext | |
16c2256f RP |
23 | Requires: boost-devel >= 1.32.0 |
24 | ||
e93545dd GE |
25 | |
26 | %description devel | |
27 | library with functions common in Intra2net programs | |
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | ||
32 | %build | |
33 | export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/intranator/lib/pkgconfig | |
34 | cp -f /usr/share/libtool/ltmain.sh . | |
35 | autoreconf --force | |
fc61192b | 36 | ./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix} |
e93545dd GE |
37 | dmake |
38 | ||
39 | dmake check | |
40 | ||
41 | %install | |
42 | make DESTDIR=$RPM_BUILD_ROOT install | |
43 | ||
44 | %clean | |
45 | rm -fr $RPM_BUILD_ROOT | |
46 | ||
47 | %post | |
48 | /sbin/ldconfig | |
49 | ||
50 | %files | |
51 | %defattr(-,root,root) | |
8844e4ed | 52 | %doc LICENSE |
e93545dd GE |
53 | %{prefix}/lib/libi2ncommon.so* |
54 | ||
55 | %files devel | |
56 | %defattr(-,root,root) | |
57 | %{prefix}/lib/*.*a* | |
58 | %{prefix}/lib/pkgconfig/*.pc | |
59 | %{prefix}/include/ |