SPECS: Sockets.spec (NEW) - initial PLD release

gotar gotar at pld-linux.org
Thu Sep 27 13:39:30 CEST 2007


Author: gotar                        Date: Thu Sep 27 11:39:30 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: SPECS/Sockets.spec
diff -u /dev/null SPECS/Sockets.spec:1.1
--- /dev/null	Thu Sep 27 13:39:30 2007
+++ SPECS/Sockets.spec	Thu Sep 27 13:39:25 2007
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+# TODO:
+#	- pass CFLAGS
+#	- package docs
+#	- build shared library
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+
+Summary:	C++ Sockets Library
+Summary(pl.UTF-8):	Biblioteka gniazd C++
+Name:		Sockets
+Version:	2.1.8
+Release:	0.1
+License:	GPL
+Group:		Development/Libraries
+Source0:	http://www.alhem.net/Sockets/%{name}-%{version}.tar.gz
+# Source0-md5:	f285cfcd3558e83f4c2b2c5b114d98d8
+Source1:	http://www.alhem.net/Sockets/%{name}-%{version}-doxygendocs.tar.gz
+# Source1-md5:	d2b4427f6cb10a7f15c3c34edb386ba7
+Source2:	http://www.alhem.net/Sockets/tutorial/%{name}-tutorial.tar.gz
+# Source2-md5:	86a6c9cb22d06ffacd65cd953398da84
+URL:		http://www.alhem.net/Sockets/
+BuildRequires:	libstdc++-devel
+BuildRequires:	openssl-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__make} install \
+	PREFIX=$RPM_BUILD_ROOT%{_prefix}
+
+install tests/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_includedir}/Sockets
+%{_libdir}/lib*.a
+%{_examplesdir}/%{name}-%{version}
+
+%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/09/27 11:39:25  gotar
+- initial PLD release
================================================================


More information about the pld-cvs-commit mailing list