packages: libestr/libestr.spec (NEW) - added to pld

lisu lisu at pld-linux.org
Mon Jan 3 16:36:57 CET 2011


Author: lisu                         Date: Mon Jan  3 15:36:57 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added to pld

---- Files affected:
packages/libestr:
   libestr.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libestr/libestr.spec
diff -u /dev/null packages/libestr/libestr.spec:1.1
--- /dev/null	Mon Jan  3 16:36:57 2011
+++ packages/libestr/libestr.spec	Mon Jan  3 16:36:52 2011
@@ -0,0 +1,103 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+#
+Summary:	Some essential string manipulation functions
+Summary(pl.UTF-8):	Kilka podstawowych funkcji do manipulacji łańcuchami
+Name:		libestr
+Version:	0.1.0
+Release:	1
+License:	LGPL v2.1+
+Group:		Libraries
+Source0:	http://libestr.adiscon.com/files/download/%{name}-%{version}.tar.gz
+# Source0-md5:	1b8fe449cffc259075d327334c93bbda
+URL:		http://libestr.adiscon.com/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libestr is a library that contains some essential string manipulation
+functions.
+
+%description -l pl.UTF-8
+libestr jest biblioteką zawierającą kilka podstawowych funkcji do
+manipulacji łańcuchami.
+
+%package devel
+Summary:	Header files for libestr library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libestr
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libestr library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libestr.
+
+%package static
+Summary:	Static libestr library
+Summary(pl.UTF-8):	Statyczna biblioteka libestr
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libestr library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libestr.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	%{!?with_static_libs:--disable-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)
+%doc AUTHORS ChangeLog
+%attr(755,root,root) %{_libdir}/libestr.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libestr.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libestr.so
+%{_libdir}/libestr.la
+%{_includedir}/libestr.h
+%{_pkgconfigdir}/libestr.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libestr.a
+%endif
+
+%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  2011/01/03 15:36:52  lisu
+- added to pld
+
================================================================


More information about the pld-cvs-commit mailing list