]> git.pld-linux.org Git - packages/fvhlib.git/blame_incremental - fvhlib.spec
- tabs in preamble
[packages/fvhlib.git] / fvhlib.spec
... / ...
CommitLineData
1Summary: The fvhlib Library
2Summary(pl.UTF-8): Biblioteka fvhlib
3Name: fvhlib
4Version: 2.5
5Release: 1
6License: distributable
7Group: Libraries
8Source0: http://www.vanheusden.com/fvhlib/%{name}-%{version}.tgz
9# Source0-md5: 130d71aef497e9f890f2a67f882acef9
10Patch0: %{name}-linking.patch
11URL: http://www.vanheusden.com/fvhlib/
12BuildRequires: openssl-devel >= 0.9.7d
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16The fvhlib Library.
17
18%description -l pl.UTF-8
19Biblioteka fvhlib.
20
21%package devel
22Summary: Development files for fvhlib library
23Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki fvhlib
24Group: Development/Libraries
25Requires: %{name} = %{version}-%{release}
26
27%description devel
28The fvhlib-devel package contains the header files needed to develop
29applications with fvhlib.
30
31%description devel -l pl.UTF-8
32Pliki nagłówkowe potrzebne do rozwijania aplikacji korzystających z
33biblioteki fvhlib.
34
35%package static
36Summary: Static development library for fvhlib
37Summary(pl.UTF-8): Biblioteka statyczna fvhlib
38Group: Development/Libraries
39Requires: %{name}-devel = %{version}-%{release}
40
41%description static
42The fvhlib-static package contains the static version of fvhlib.
43
44%description static -l pl.UTF-8
45Biblioteka 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
57rm -rf $RPM_BUILD_ROOT
58install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/%{name}}
59
60install libfvh.so.%{version} $RPM_BUILD_ROOT%{_libdir}
61install libfvh.a $RPM_BUILD_ROOT%{_libdir}
62install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
63
64ln -sf libfvh.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libfvh.so
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.092793 seconds and 5 git commands to generate.