summaryrefslogtreecommitdiffstats
path: root/gsopcast/F-13/gsopcast.spec
blob: 26f466530e9a0e1967218b4930f5a65938279978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Name:           gsopcast
Version:        0.4.0
Release:        1%{?dist}
Summary:        A GUI for SopCast P2P streaming media

Group:          Applications/Multimedia
License:        GPLv2+
URL:            http://code.google.com/p/gsopcast/
Source0:        http://gsopcast.googlecode.com/files/%{name}-%{version}.tar.bz2
Patch0:         gsopcast-build.patch
Patch1:         gsopcast-desktop.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gtk2-devel
BuildRequires:  alsa-lib-devel
BuildRequires:  intltool
Requires:       /usr/bin/sp-sc

%description
GSopCast is a GUI for SopCast P2P streaming media.

%prep
%setup -q
%patch0 -p1 -b .fix
%patch1 -p1 -b .fix

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%doc AUTHORS ChangeLog COPYING README



%changelog
* Sun Mar 21 2010 Cheese Lee <cheeselee@126.com> - 0.4.0-1
- Initial packaging by Cheese Lee