SPECS: libHX.spec (NEW) - initial revision

pascalek pascalek at pld-linux.org
Wed Dec 12 15:46:26 CET 2007


Author: pascalek                     Date: Wed Dec 12 14:46:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   libHX.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libHX.spec
diff -u /dev/null SPECS/libHX.spec:1.1
--- /dev/null	Wed Dec 12 15:46:26 2007
+++ SPECS/libHX.spec	Wed Dec 12 15:46:20 2007
@@ -0,0 +1,104 @@
+# $Revision$, $Date$
+
+Summary:	General-purpose library
+Name:		libHX
+Version:	1.10.2
+Release:	1
+License:	LGPL2 LGPL3 but NOT LATER
+Group:		Libraries
+Source0:	http://jengelh.hopto.org/f/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5:	913d01d511c8378d7e563cfd3aa439ba
+URL:		http://jengelh.hopto.org/p/%{name}/
+#BuildRequires:	autoconf >= 2.50
+#BuildRequires:	automake
+#BuildRequires:	libtool >= 2:1.4d
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A library for:
+- A+R/B trees to use for lists or maps (associative arrays)
+- Deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs))
+- platform independent opendir-style directory access
+- platform independent dlopen-style shared library access
+- auto-storage strings with direct access
+- command line option (argv) parser
+- shell-style config file parser
+- platform independent random number generator with transparent
+  /dev/urandom support
+- various string, memory and zvec ops
+
+%package devel
+Summary:	libHX header files
+Summary(pl.UTF-8):	Pliki nagłówkowe libHX
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+libHX header files.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe libHX.
+
+%package static
+Summary:	libHX static library
+Summary(pl.UTF-8):	Statyczna biblioteka libHX
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+libHX static library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libHX.
+
+%prep
+%setup -q
+
+%build
+# supplied libtool is broken (no C++ libraries support)
+#%{__libtoolize}
+#%{__aclocal}
+#%{__autoconf}
+#%{__automake}
+%configure \
+	--enable-static
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%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}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/*
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/*.h
+%{_pkgconfigdir}/*.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007-12-12 14:46:20  pascalek
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list