]> git.pld-linux.org Git - packages/fvhlib.git/blob - fvhlib.spec
- use gcc to link
[packages/fvhlib.git] / fvhlib.spec
1
2 # conditional build:
3 # _without_dist_kernel    without kernel from distribution
4
5 Summary:        The fvhlib Library
6 Summary(pl):    Biblioteka fvhlib
7 Name:           fvhlib
8 Version:        2.4
9 Release:        1
10 License:        distributable
11 Group:          Libraries
12 Source0:        http://www.vanheusden.com/fvhlib/%{name}-%{version}.tgz
13 Patch0:         %{name}-linking.patch
14 URL:            http://www.vanheusden.com/fvhlib/
15 BuildRequires:  openssl-devel
16 %{!?_without_dist_kernel:BuildRequires: kernel-headers}
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The fvhlib Library.
21
22 %description -l pl
23 Biblioteka fvhlib.
24
25 %package devel
26 Summary:        Development files for fvhlib library
27 Summary(pl):    Pliki nag³ówkowe dla biblioteki fvhlib
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}
30
31 %description devel
32 The fvhlib-devel package contains the header files needed to develop
33 applications with fvhlib.
34
35 %description devel -l pl
36 Pliki nag³ówkowe potrzebne do rozwijania aplikacji korzystaj±cych z
37 biblioteki fvhlib.
38
39 %package static
40 Summary:        Static development library for fvhlib
41 Summary(pl):    Biblioteka statyczna fvhlib
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}
44
45 %description static
46 The fvhlib-static package contains the static libraries of fvhlib.
47
48 %description static -l pl
49 Biblioteka statyczna fvhlib.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54
55 %build
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/%{name}}
61
62 install libfvh.so.2.4 $RPM_BUILD_ROOT%{_libdir}
63 install libfvh.a $RPM_BUILD_ROOT%{_libdir}
64 install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
65
66 ln -s libfvh.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libfvh.so
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/libfvh.so.*.*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/libfvh.so
81 %{_includedir}/%{name}
82
83 %files static
84 %defattr(644,root,root,755)
85 %{_libdir}/libfvh.a
This page took 0.06519 seconds and 3 git commands to generate.