libi2ncommon: (gerd) initial submission, not in use yet
[libi2ncommon] / libi2ncommon.spec
1 Summary:   library with functions common in Intra2net programs
2 Name:      libi2ncommon
3 Version:   ##VERSION##
4 Release:   1
5 Copyright: Commercial
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
13
14 %description 
15 library with functions common in Intra2net programs
16
17 %package   devel
18 Summary:   library with functions common in Intra2net programs
19 Group:     Intranator/Development
20 Requires:  libi2ncommon = %{version} libgettext
21
22 %description devel
23 library with functions common in Intra2net programs
24
25 %prep
26 %setup -q
27
28 %build
29 export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/intranator/lib/pkgconfig
30 cp -f /usr/share/libtool/ltmain.sh .
31 autoreconf --force
32 ./configure --prefix=%{prefix}
33 dmake
34
35 dmake check
36
37 %install
38 make DESTDIR=$RPM_BUILD_ROOT install
39
40 %clean
41 rm -fr $RPM_BUILD_ROOT
42
43 %post
44 /sbin/ldconfig
45
46 %files
47 %defattr(-,root,root)
48 %{prefix}/lib/libi2ncommon.so*
49
50 %files devel
51 %defattr(-,root,root)
52 %{prefix}/lib/*.*a*
53 %{prefix}/lib/pkgconfig/*.pc
54 %{prefix}/include/