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