]> git.pld-linux.org Git - packages/fvhlib.git/commitdiff
- new
authorgrzegol <grzegol@pld-linux.org>
Sat, 8 Feb 2003 19:29:34 +0000 (19:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fvhlib.spec -> 1.1

fvhlib.spec [new file with mode: 0644]

diff --git a/fvhlib.spec b/fvhlib.spec
new file mode 100644 (file)
index 0000000..dfcfa7a
--- /dev/null
@@ -0,0 +1,85 @@
+
+# conditional build:
+# _without_dist_kernel    without kernel from distribution
+
+Summary:       The fvhlib Library
+Summary(pl):   Biblioteka fvhlib
+Name:          fvhlib
+Version:       2.4
+Release:       1
+License:       distributable
+Group:         Libraries
+Source0:       http://www.vanheusden.com/fvhlib/%{name}-%{version}.tgz
+Patch0:                %{name}-linking.patch
+URL:           http://www.vanheusden.com/fvhlib/
+BuildRequires: openssl-devel
+%{!?_without_dist_kernel:BuildRequires: kernel-headers}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The fvhlib Library.
+
+%description -l pl
+Biblioteka fvhlib.
+
+%package devel
+Summary:       Development files for fvhlib library
+Summary(pl):   Pliki nag³ówkowe dla biblioteki fvhlib
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+
+%description devel
+The fvhlib-devel package contains the header files needed to develop
+applications with fvhlib.
+
+%description devel -l pl
+Pliki nag³ówkowe potrzebne do rozwijania aplikacji korzystaj±cych z
+biblioteki fvhlib.
+
+%package static
+Summary:       Static development library for fvhlib
+Summary(pl):   Biblioteka statyczna fvhlib
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+The fvhlib-static package contains the static libraries of fvhlib.
+
+%description static -l pl
+Biblioteka statyczna fvhlib.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/%{name}}
+
+install libfvh.so.2.4 $RPM_BUILD_ROOT%{_libdir}
+install libfvh.a $RPM_BUILD_ROOT%{_libdir}
+install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+
+ln -s libfvh.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libfvh.so
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libfvh.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libfvh.so
+%{_includedir}/%{name}
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libfvh.a
This page took 0.079537 seconds and 4 git commands to generate.