]> git.pld-linux.org Git - packages/dcdflib.c.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 7 Dec 2002 00:42:37 +0000 (00:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dcdflib.c.spec -> 1.1

dcdflib.c.spec [new file with mode: 0644]

diff --git a/dcdflib.c.spec b/dcdflib.c.spec
new file mode 100644 (file)
index 0000000..ba7c87b
--- /dev/null
@@ -0,0 +1,82 @@
+Summary:       Library of C Routines for Cumulative Distribution Functions, Inverses etc.
+Summary(pl):   Biblioteka funkcji C do dystrybuant, odwrotno¶ci i innych parametrów
+Name:          dcdflib.c
+Version:       1.1
+Release:       1
+# partially public domain, but ACM implementations are non-commercial
+License:       non-commercial
+Group:         Libraries
+Source0:       ftp://odin.mda.uth.tmc.edu/pub/source/%{name}-%{version}.tar.gz
+BuildRequires: libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Library of C Routines for Cumulative Distribution Functions, Inverses
+and Other Parameters.
+
+%description -l pl
+Biblioteka funkcji C do dystrybuant, odwrotno¶ci i innych parametrów.
+
+%package devel
+Summary:       DCDFLIB.C header files
+Summary(pl):   Pliki nag³ówkowe DCDFLIB.C
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+
+%description devel
+DCDFLIB.C header files.
+
+%description devel -l pl
+Pliki nag³ówkowe DCDFLIB.C.
+
+%package static
+Summary:       DCDFLIB.C static library
+Summary(pl):   Biblioteka statyczna DCDFLIB.C
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+DCDFLIB.C static library.
+
+%description static -l pl
+Biblioteka statyczna DCDFLIB.C.
+
+%prep
+%setup -q -n %{name}
+
+%build
+cd src
+libtool %{__cc} %{rpmcflags} -c ipmpar.c
+libtool %{__cc} %{rpmcflags} -c dcdflib.c
+libtool %{__cc} %{rpmldflags} -o libcdflib.la -rpath %{_libdir} \
+       ipmpar.lo dcdflib.lo
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
+
+cd src
+libtool install libcdflib.la $RPM_BUILD_ROOT%{_libdir}
+install cdflib.h $RPM_BUILD_ROOT%{_includedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc HOWTOGET README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/*
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.076203 seconds and 4 git commands to generate.