packages: ucommon/ucommon.spec (NEW) - new

qboosh qboosh at pld-linux.org
Tue Jan 3 15:37:36 CET 2012


Author: qboosh                       Date: Tue Jan  3 14:37:36 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: packages/ucommon/ucommon.spec
diff -u /dev/null packages/ucommon/ucommon.spec:1.1
--- /dev/null	Tue Jan  3 15:37:36 2012
+++ packages/ucommon/ucommon.spec	Tue Jan  3 15:37:31 2012
@@ -0,0 +1,184 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
+#
+Summary:	GNU uCommon C++ - very light-weight C++ framework
+Summary(pl.UTF-8):	GNU uCommon C++ - bardzo lekki szkielet C++
+Name:		ucommon
+Version:	5.1.0
+Release:	1
+License:	LGPL v3+ (libucommon and secure component), GPL v3+ (the rest)
+Group:		Libraries
+Source0:	http://ftp.gnu.org/gnu/commoncpp/%{name}-%{version}.tar.gz
+# Source0-md5:	2aa7bec3ad5ef9f83149811d9424f291
+URL:		http://www.gnu.org/software/commoncpp/
+%{?with_apidocs:BuildRequires:	doxygen}
+BuildRequires:	libstdc++-devel >= 5:3.0
+BuildRequires:	openssl-devel >= 0.9.7
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNU uCommon C++ is meant as a very light-weight C++ library to
+facilitate using C++ design patterns even for very deeply embedded
+applications, such as for systems using uClibc along with POSIX
+threading support. For this reason, uCommon disables language features
+that consume memory or introduce runtime overhead, such as rtti and
+exception handling, and assumes one will mostly be linking
+applications with other pure C based libraries rather than using the
+overhead of the standard C++ library and other class frameworks.
+
+%description -l pl.UTF-8
+GNU uCommon C++ ma być bardzo lekką biblioteką C++ ułatwiającą
+wykorzystywanie wzorców projektowych C++, nawet w bardzo wbudowanych
+zastosowaniach, takich jak systemy wykorzystujące uClibc, wraz z
+obsługą wątków POSIX. Z tego powodu uCommon wyłącza elementy języka
+pochłaniające pamięć lub wprowadzające narzut w czasie działania,
+takie jak rtti czy obsługa wyjątków i zakłada, że aplikacje będą
+linkowane z innymi bibliotekami opartymi na czystym C zamiast
+narzutu pełnej biblioteki standardowej C++ czy innych szkieletów klas.
+
+%package devel
+Summary:	Header files for uCommon C++ library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki uCommon C++
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel >= 5:3.0
+Requires:	openssl-devel >= 0.9.7
+
+%description devel
+Header files for uCommon C++ library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki uCommon C++.
+
+%package static
+Summary:	Static uCommon C++ library
+Summary(pl.UTF-8):	Statyczna biblioteka uCommon C++
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static uCommon C++ library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka uCommon C++.
+
+%package apidocs
+Summary:	uCommon C++ API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki uCommon C++
+Group:		Documentation
+
+%description apidocs
+API and internal documentation for uCommon C++ library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki uCommon C++.
+
+%package tools
+Summary:	uCommon system and support applications
+Summary(pl.UTF-8):	uCommon - aplikacje systemowe i pomocnicze
+Group:		Applications/System
+Requires:	%{name} = %{version}-%{release}
+
+%description tools
+uCommon system and support applications.
+
+%description tools -l pl.UTF-8
+uCommon - aplikacje systemowe i pomocnicze.
+
+%prep
+%setup -q
+
+%build
+# if ac/am/lt/* rebuilding is necessary, do it in this order and add
+# appropriate BuildRequires
+#%{__libtoolize}
+#%{__aclocal}
+#%{__autoconf}
+#%{__autoheader}
+#%{__automake}
+%configure \
+	ac_cv_lib_nsl_inet_ntop=no \
+	--with-sslstack=openssl
+%{__make}
+
+%if %{with apidocs}
+%{__make} doxy
+%endif
+
+%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 COPYRIGHT ChangeLog NEWS README README.secure SUPPORT TODO
+%attr(755,root,root) %{_libdir}/libcommoncpp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcommoncpp.so.5
+%attr(755,root,root) %{_libdir}/libucommon.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libucommon.so.5
+%attr(755,root,root) %{_libdir}/libusecure.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libusecure.so.5
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/commoncpp-config
+%attr(755,root,root) %{_bindir}/ucommon-config
+%attr(755,root,root) %{_libdir}/libcommoncpp.so
+%attr(755,root,root) %{_libdir}/libucommon.so
+%attr(755,root,root) %{_libdir}/libusecure.so
+%{_libdir}/libcommoncpp.la
+%{_libdir}/libucommon.la
+%{_libdir}/libusecure.la
+%{_includedir}/commoncpp
+%{_includedir}/ucommon
+%{_pkgconfigdir}/commoncpp.pc
+%{_pkgconfigdir}/ucommon.pc
+%{_mandir}/man1/commoncpp-config.1*
+%{_mandir}/man1/ucommon-config.1*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libcommoncpp.a
+%{_libdir}/libucommon.a
+%{_libdir}/libusecure.a
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/html/*
+%endif
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/args
+%attr(755,root,root) %{_bindir}/car
+%attr(755,root,root) %{_bindir}/mdsum
+%attr(755,root,root) %{_bindir}/scrub-files
+%attr(755,root,root) %{_bindir}/sockaddr
+%attr(755,root,root) %{_bindir}/zerofill
+%{_mandir}/man1/args.1*
+%{_mandir}/man1/car.1*
+%{_mandir}/man1/mdsum.1*
+%{_mandir}/man1/scrub-files.1*
+%{_mandir}/man1/sockaddr.1*
+%{_mandir}/man1/zerofill.1*
+
+%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  2012/01/03 14:37:31  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list