-#
%define _gccver_ix86 3.3.3
%define _gccver_x86_64 3.4.2
%ifarch %{ix86}
%define _gccver %{_gccver_x86_64}
%endif
Summary: Easy network socket library
+Summary(pl): £atwa w u¿yciu biblioteka do gniazd
Name: SolarSockets
Version: 0.4.0
%define _rel 0.1
# NoSource0-md5: 45190052e0d0cafc9cf71016b4ea064d
Source1: http://dl.sourceforge.net/solarirc/%{name}-%{version}-GCC%{_gccver_x86_64}.x86_64.tgz
# NoSource1-md5: aea57a8abb555dc6ef11f843e677debb
+NoSource: 0
+NoSource: 1
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.
+Warning: this library from time to time connects to Solar OpenSource
+server for track use statistics.
+
+%description -l pl
+£atwa w u¿yciu biblioteka do gniazd.
+
+Uwaga: ta biblioteka od czasu do czasu ³±czy siê z serwerem Solar
+OpenSource w celu uzyskania statystyk u¿ycia.
%package devel
-Summary: Developement files
-Requires: %{name} = %{version}-%{release}
+Summary: Developement files for SolarSockets library
+Summary(pl): Pliki programistyczne biblioteki SolarSockets
Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
%description devel
-Developement files.
+Developement files for SolarSockets library.
+
+%description devel -l pl
+Pliki programistyczne biblioteki SolarSockets.
%package static
-Summary: Static library
-Requires: %{name}-devel = %{version}-%{release}
+Summary: Static SolarSockets library
+Summary(pl): Statyczna biblioteka SolarSockets
Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
%description static
-Static library.
+Static SolarSockets library.
+
+%description static -l pl
+Statyczna biblioteka SolarSockets.
%prep
%setup -q -T -c -a0 -a1
%endif
mv README{,.es}
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/%{name}}
tr "\r" "\n" < include/%{name}.h \
> $RPM_BUILD_ROOT%{_includedir}/%{name}/%{name}.h
+%clean
+rm -rf $RPM_BUILD_ROOT
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig