1 Summary: The fvhlib Library
2 Summary(pl.UTF-8): Biblioteka fvhlib
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)
18 %description -l pl.UTF-8
22 Summary: Development files for fvhlib library
23 Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki fvhlib
24 Group: Development/Libraries
25 Requires: %{name} = %{version}-%{release}
28 The fvhlib-devel package contains the header files needed to develop
29 applications with fvhlib.
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe potrzebne do rozwijania aplikacji korzystających z
36 Summary: Static development library for fvhlib
37 Summary(pl.UTF-8): Biblioteka statyczna fvhlib
38 Group: Development/Libraries
39 Requires: %{name}-devel = %{version}-%{release}
42 The fvhlib-static package contains the static version of fvhlib.
44 %description static -l pl.UTF-8
45 Biblioteka statyczna fvhlib.
54 CFLAGS="%{rpmcflags} -fPIC -Wshadow -Wwrite-strings -Wconversion"
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/%{name}}
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}
64 ln -sf libfvh.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libfvh.so
67 rm -rf $RPM_BUILD_ROOT
69 %post -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_libdir}/libfvh.so.*.*
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/libfvh.so
79 %{_includedir}/%{name}
82 %defattr(644,root,root,755)