]> git.pld-linux.org Git - packages/Sockets.git/commitdiff
- initial PLD release
authorTomasz Pala <gotar@pld-linux.org>
Thu, 27 Sep 2007 11:39:25 +0000 (11:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Sockets.spec -> 1.1

Sockets.spec [new file with mode: 0644]

diff --git a/Sockets.spec b/Sockets.spec
new file mode 100644 (file)
index 0000000..2d3069f
--- /dev/null
@@ -0,0 +1,55 @@
+#
+# 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}
This page took 0.277966 seconds and 4 git commands to generate.