- tabs in preamble
[packages/fvhlib.git] / fvhlib.spec
CommitLineData
059d4dc3 1Summary: The fvhlib Library
b3180e9c 2Summary(pl.UTF-8): Biblioteka fvhlib
059d4dc3 3Name: fvhlib
7e309ca1 4Version: 2.5
059d4dc3 5Release: 1
6License: distributable
7Group: Libraries
8Source0: http://www.vanheusden.com/fvhlib/%{name}-%{version}.tgz
7e309ca1 9# Source0-md5: 130d71aef497e9f890f2a67f882acef9
059d4dc3 10Patch0: %{name}-linking.patch
11URL: http://www.vanheusden.com/fvhlib/
90dd8e15 12BuildRequires: openssl-devel >= 0.9.7d
059d4dc3 13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16The fvhlib Library.
17
d6972808 18%description -l pl.UTF-8
059d4dc3 19Biblioteka fvhlib.
20
21%package devel
22Summary: Development files for fvhlib library
b3180e9c 23Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki fvhlib
059d4dc3 24Group: Development/Libraries
5bd54de3 25Requires: %{name} = %{version}-%{release}
059d4dc3 26
27%description devel
28The fvhlib-devel package contains the header files needed to develop
29applications with fvhlib.
30
d6972808
JR
31%description devel -l pl.UTF-8
32Pliki nagłówkowe potrzebne do rozwijania aplikacji korzystających z
059d4dc3 33biblioteki fvhlib.
34
35%package static
36Summary: Static development library for fvhlib
b3180e9c 37Summary(pl.UTF-8): Biblioteka statyczna fvhlib
059d4dc3 38Group: Development/Libraries
5bd54de3 39Requires: %{name}-devel = %{version}-%{release}
059d4dc3 40
41%description static
3dc17850 42The fvhlib-static package contains the static version of fvhlib.
059d4dc3 43
d6972808 44%description static -l pl.UTF-8
059d4dc3 45Biblioteka statyczna fvhlib.
46
47%prep
48%setup -q
49%patch0 -p1
50
51%build
3dc17850
JB
52%{__make} \
53 CC="%{__cc}" \
54 CFLAGS="%{rpmcflags} -fPIC -Wshadow -Wwrite-strings -Wconversion"
059d4dc3 55
56%install
57rm -rf $RPM_BUILD_ROOT
58install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/%{name}}
59
7e309ca1 60install libfvh.so.%{version} $RPM_BUILD_ROOT%{_libdir}
059d4dc3 61install libfvh.a $RPM_BUILD_ROOT%{_libdir}
62install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
63
7e309ca1 64ln -sf libfvh.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libfvh.so
059d4dc3 65
66%clean
67rm -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.058441 seconds and 4 git commands to generate.