Projects
Multimedia
shoutsend
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
shoutsend.spec
Changed
@@ -11,20 +11,15 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ - Name: shoutsend Version: 1.02 Release: 0.pm.1 Summary: Simple Streaming Source Client for ShoutCast/IceCast -Source: http://sokrates.mimuw.edu.pl/~sebek/shoutsend/shoutsend-%{version}.tar.gz +Source: shoutsend-%version.tar.gz Patch1: shoutsend-fix_includes.patch URL: http://sokrates.mimuw.edu.pl/~sebek/shoutsend/ -Group: Productivity/Multimedia/Sound/Utilities License: GPL-2.0+ -BuildRoot: %{_tmppath}/build-%{name}-%{version} -BuildRequires: libshout-devel -BuildRequires: gcc make glibc-devel pkgconfig +BuildRequires: pkgconfig(shout) %description ShoutSend is a simple streaming client for ShoutCast/IceCast servers. It takes @@ -33,21 +28,16 @@ server. %prep -%setup -q -%patch -P 1 +%autosetup -p1 %build -%__cc -o shoutsend shoutsend.c -lshout -lpthread +cc %optflags -o shoutsend shoutsend.c $(pkg-config --cflags --libs shout) %install -%__install -D -m0755 shoutsend "%{buildroot}%{_bindir}/shoutsend" - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +install -D -m0755 shoutsend "%buildroot%_bindir/shoutsend" %files -%defattr(-,root,root) %doc README.txt -%{_bindir}/shoutsend +%_bindir/shoutsend %changelog
View file
shoutsend-fix_includes.patch
Changed
@@ -1,11 +1,16 @@ ---- shoutsend.c.orig 2013-04-14 13:18:52.717344450 +0200 -+++ shoutsend.c 2013-04-14 13:20:26.754592541 +0200 -@@ -1,6 +1,8 @@ +--- + shoutsend.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +--- a/shoutsend.c ++++ b/shoutsend.c +@@ -1,6 +1,9 @@ -#include <shout/shout.h> #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <unistd.h> ++#include <ctype.h> +#include <shout/shout.h> #define BUFSIZE 4096
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.