Author: sparky                       Date: Sat Sep 10 19:05:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- NEW, (easy?) network sockets programing library
- dunno is it distriguitable (not specified)

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

---- Diffs:

================================================================
Index: SPECS/SolarSockets.spec
diff -u /dev/null SPECS/SolarSockets.spec:1.1
--- /dev/null   Sat Sep 10 21:05:19 2005
+++ SPECS/SolarSockets.spec     Sat Sep 10 21:05:13 2005
@@ -0,0 +1,89 @@
+# $Revision$, $Date$
+#
+%define        _gccver_ix86    3.4.2
+%define        _gccver_x86_64  3.4.2
+Summary:       Easy network socket library
+Name:          SolarSockets
+Version:       0.4.0
+Release:       0.1
+License:       Free for non comercial use
+Vendor:                Solar-OpenSource.Com
+Group:         Libraries
+Source0:       
http://dl.sourceforge.net/solarirc/%{name}-%{version}-GCC%{_gccver_ix86}.i386.tgz
+# NoSource0-md5:       b037bd7e00a788524c3669a44f3f807f
+Source1:       
http://dl.sourceforge.net/solarirc/%{name}-%{version}-GCC%{_gccver_x86_64}.x86_64.tgz
+# NoSource1-md5:       aea57a8abb555dc6ef11f843e677debb
+URL:           http://solarirc.sourceforge.net/solarsockets/
+ExclusiveArch: %{ix86} %{x8664}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Easy network socket library.
+
+Warning: this library from time to time connects to Solar OpenSource server
+for track use statistics.
+
+%package devel
+Summary:       Developement files
+Requires:      %{name} = %{version}-%{release}
+Group:         Development/Libraries
+
+%description devel
+Developement files.
+
+%package static
+Summary:       Static library
+Requires:      %{name}-devel = %{version}-%{release}
+Group:         Development/Libraries
+
+%description static
+Static library.
+
+%prep
+%setup -q -T -c -a0 -a1
+%ifarch %{ix86}
+mv %{name}-%{version}-GCC%{_gccver_ix86}.i386/* .
+%else
+mv %{name}-%{version}-GCC%{_gccver_x86_64}.x86_64/* .
+%endif
+mv README{,.es}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/%{name}}
+
+install lib/* $RPM_BUILD_ROOT%{_libdir}
+tr "\r" "\n" < include/%{name}.h \
+       > $RPM_BUILD_ROOT%{_includedir}/%{name}/%{name}.h
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.es
+%attr(755,root,root) %{_libdir}/libsolarsockets.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsolarsockets.so
+%{_libdir}/libsolarsockets.la
+%{_includedir}/%{name}
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libsolarsockets.a
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/10 19:05:13  sparky
+- NEW, (easy?) network sockets programing library
+- dunno is it distriguitable (not specified)
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to