[SDL2_net/f19] Initial import (#1107250).
pcpa
pcpa at fedoraproject.org
Tue Jun 24 13:55:21 UTC 2014
commit eb32ad8be0056c770a769299071179c014aacbe7
Author: pcpa <paulo.cesar.pereira.de.andrade at gmail.com>
Date: Tue Jun 24 10:54:59 2014 -0300
Initial import (#1107250).
.gitignore | 1 +
SDL2_net.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9a27f15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/SDL2_net-2.0.0.tar.gz
diff --git a/SDL2_net.spec b/SDL2_net.spec
new file mode 100644
index 0000000..71170b2
--- /dev/null
+++ b/SDL2_net.spec
@@ -0,0 +1,52 @@
+Name: SDL2_net
+Version: 2.0.0
+Release: 1%{?dist}
+Summary: SDL portable network library
+License: zlib
+URL: http://www.libsdl.org/projects/SDL_net/
+Source0: http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
+BuildRequires: SDL2-devel >= 2.0
+
+%description
+This is a portable network library for use with SDL.
+
+%package devel
+Summary: Libraries and includes to develop SDL networked applications
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: SDL2-devel%{?_isa} >= 2.0
+
+%description devel
+This is a portable network library for use with SDL.
+
+This is the libraries and include files you can use to develop SDL
+networked applications.
+
+%prep
+%setup -q
+# Fix end-of-line encoding
+sed -i 's/\r//' README.txt CHANGES.txt COPYING.txt
+
+%build
+%configure --disable-static --disable-gui
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=%{buildroot} install
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc README.txt CHANGES.txt COPYING.txt
+%{_libdir}/lib*.so.*
+
+%files devel
+%{_libdir}/lib*.so
+%{_includedir}/SDL2/*
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
+* Mon Jun 9 2014 pcpa <paulo.cesar.pereira.de.andrade at gmail.com> - 2.0.0-1
+- Initial spec based on upstream provided sample spec file (#1107250)
diff --git a/sources b/sources
index e69de29..405266f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+83bcd0e67796b81b35b08a014c677200 SDL2_net-2.0.0.tar.gz
More information about the scm-commits
mailing list