summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Lee <robinlee.sysu@gmail.com>2010-06-12 13:18:55 +0800
committerRobin Lee <robinlee.sysu@gmail.com>2010-06-12 13:18:55 +0800
commitf59b6f1ac73a896cc40e91741f1e5d5ea2c398ff (patch)
treefbca6eaac4f8646075253d36c44a960738902875
downloadrpm-f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff.tar.gz
rpm-f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff.tar.xz
rpm-f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff.zip
Initial commit
-rw-r--r--gsopcast/F-13/gsopcast-build.patch25
-rw-r--r--gsopcast/F-13/gsopcast-desktop.patch15
-rw-r--r--gsopcast/F-13/gsopcast.spec54
-rw-r--r--linux-fetion/F-13/Makefile0
-rw-r--r--linux-fetion/F-13/linux-fetion-desktop.patch11
-rw-r--r--linux-fetion/F-13/linux-fetion.spec94
-rw-r--r--mentohust/F-13/mentohust-0.3.4-missing-header-file.patch14
-rw-r--r--mentohust/F-13/mentohust.spec54
-rw-r--r--qipmsg/F-13/qipmsg.spec67
-rw-r--r--qsopcast/F-13/qsopcast-desktop.patch18
-rw-r--r--qsopcast/F-13/qsopcast.spec72
-rw-r--r--sp-auth/F-13/sp-auth.spec47
12 files changed, 471 insertions, 0 deletions
diff --git a/gsopcast/F-13/gsopcast-build.patch b/gsopcast/F-13/gsopcast-build.patch
new file mode 100644
index 0000000..80770df
--- /dev/null
+++ b/gsopcast/F-13/gsopcast-build.patch
@@ -0,0 +1,25 @@
+diff -Naur gsopcast-0.4.0/src/channel.cc gsopcast-0.4.0-new/src/channel.cc
+--- gsopcast-0.4.0/src/channel.cc 2008-01-09 17:55:39.000000000 +0800
++++ gsopcast-0.4.0-new/src/channel.cc 2010-03-21 09:26:44.720387730 +0800
+@@ -206,8 +206,8 @@
+ buf_pt = strstr(buf_pt, "type=\"");
+ buf_pt += strlen("type=\"");
+ found = FALSE;
+- if (*buf_pt != '0') ///filter
+- found = TRUE;
++ //if (*buf_pt != '0') ///filter
++ //found = TRUE;
+ /////////////statistics
+ //for (i = 0; i < 9; i++) {
+ for (i = 0; i < 12; i++) {
+diff -Naur gsopcast-0.4.0/src/header.h gsopcast-0.4.0-new/src/header.h
+--- gsopcast-0.4.0/src/header.h 2008-01-09 17:55:39.000000000 +0800
++++ gsopcast-0.4.0-new/src/header.h 2010-03-21 09:23:44.978388612 +0800
+@@ -35,6 +35,7 @@
+ #include <stdlib.h>
+ #include <signal.h>
+ #include <string>
++#include <string.h>
+ #include <unistd.h>
+ #include <termios.h>
+ #include <pthread.h>
diff --git a/gsopcast/F-13/gsopcast-desktop.patch b/gsopcast/F-13/gsopcast-desktop.patch
new file mode 100644
index 0000000..3043679
--- /dev/null
+++ b/gsopcast/F-13/gsopcast-desktop.patch
@@ -0,0 +1,15 @@
+--- gsopcast-0.4.0/data/gsopcast.desktop.in.in 2008-01-17 22:02:25.000000000 +0800
++++ gsopcast-0.4.0-new/data/gsopcast.desktop.in.in 2010-03-21 09:51:53.007388317 +0800
+@@ -1,10 +1,9 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ _Name=Gsopcast
+ _Comment=Streaming Direct Broadcast System based on P2P
+ Exec=gsopcast
+ Terminal=false
+ Type=Application
+ StartupNotify=true
+-Icon=gsopcast.png
+-Categories=Application;Multimedia;AudioVideo;
++Icon=gsopcast
++Categories=AudioVideo;Video;
diff --git a/gsopcast/F-13/gsopcast.spec b/gsopcast/F-13/gsopcast.spec
new file mode 100644
index 0000000..26f4665
--- /dev/null
+++ b/gsopcast/F-13/gsopcast.spec
@@ -0,0 +1,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
diff --git a/linux-fetion/F-13/Makefile b/linux-fetion/F-13/Makefile
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/linux-fetion/F-13/Makefile
diff --git a/linux-fetion/F-13/linux-fetion-desktop.patch b/linux-fetion/F-13/linux-fetion-desktop.patch
new file mode 100644
index 0000000..c592458
--- /dev/null
+++ b/linux-fetion/F-13/linux-fetion-desktop.patch
@@ -0,0 +1,11 @@
+--- misc/LibFetion.desktop 2009-12-31 23:41:32.000000000 +0800
++++ misc/LibFetion.desktop.new 2010-03-10 15:25:53.032932683 +0800
+@@ -6,7 +6,6 @@
+ GenericName[zh_CN]=Linux 飞信第三方客户程序
+ Comment=Linux Fetion
+ Comment[zh_CN]=Linux 飞信第三方客户程序
+-MimeTypes=
+ Icon=fetion.png
+-Categories=Qt;KDE;Network
++Categories=Qt;KDE;Network;
+ Terminal=false
diff --git a/linux-fetion/F-13/linux-fetion.spec b/linux-fetion/F-13/linux-fetion.spec
new file mode 100644
index 0000000..4853529
--- /dev/null
+++ b/linux-fetion/F-13/linux-fetion.spec
@@ -0,0 +1,94 @@
+Name: linux-fetion
+Version: 1.3
+Release: 2%{?dist}
+Summary: Fetion for linux
+
+Group: Applications/Internet
+License: GPLv2
+URL: http://libfetion-gui.googlecode.com
+Source0: http://libfetion-gui.googlecode.com/files/linux_fetion_v%{version}.tar.gz
+# fix the desktop entry
+Patch0: linux-fetion-desktop.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: qt4-devel >= 4.5.0
+BuildRequires: libcurl-devel openssl-devel libstdc++-devel
+BuildRequires: desktop-file-utils
+#Requires: curl
+
+%description
+Fetion GUI Applictions of China Mobile's Fetion IM,
+which is based on libfetion library.
+
+%prep
+%setup -q -n linux_fetion_v%{version}
+%patch0 -p0 -b .fix
+%ifarch x86_64
+./64_libfetion.sh
+%endif
+
+%build
+%_qt4_qmake
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+
+install -Dm 0644 ./misc/fetion.png %{buildroot}%{_datadir}/pixmaps/fetion.png
+
+mkdir -p %{buildroot}%{_datadir}/libfetion/
+cp -rf resource skins %{buildroot}%{_datadir}/libfetion/
+find %{buildroot}%{_datadir}/libfetion/ -type f -execdir chmod 0644 '{}' +
+
+desktop-file-install --dir=%{buildroot}%{_datadir}/applications \
+ ./misc/LibFetion.desktop
+
+install -Dm 0755 linux-fetion %{buildroot}%{_bindir}/linux-fetion
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc README COPYING ChangeLog CREDITS.txt
+%{_bindir}/linux-fetion
+%{_datadir}/pixmaps/fetion.png
+%{_datadir}/libfetion/
+%{_datadir}/applications/LibFetion.desktop
+
+%changelog
+* Mon Mar 8 2010 Cheese Lee <cheeselee@126.com> - 1.3-2
+- Many fixed
+
+* Thu Jan 14 2010 Cheese Lee <cheeselee@126.com> - 1.3-1
+- Update to Offical version 1.3
+
+* Sun Nov 29 2009 Tommy He <lovenemesis@163.com> -1.2
+- Update to Offical version 1.2
+
+* Fri Oct 2 2009 Tommy He <lovenemesis@163.com> -1.1
+- Update to Offical version 1.1
+
+* Fri Jul 3 2009 Gcell <ph.linfan@gmail.com> - 1.0-1
+- Update to offical version 1.0
+
+* Mon Jun 15 2009 Gcell <ph.linfan@gmail.com> - 1.0_a2-2
+- Fix files missing in source and update the spec file
+
+* Mon Jun 15 2009 Gcell <ph.linfan@gmail.com> - 1.0_a2-1
+- Update to alpha version 1.0_a2
+
+* Sat Feb 21 2009 Gcell <ph.linfan@gmail.com> - 0.9.2-2
+- update to 0.9.2 official version
+- Fixed some mistakes in the spec
+
+* Tue Feb 17 2009 Gcell <ph.linfan@gmail.com> - 0.9.2-1
+- update to version 0.9.2
+
+* Wed Dec 17 2008 Gcell <ph.linfan@gmail.com> - 0.9.1-1
+- update x86_64 prepare option
+
+* Sun Dec 14 2008 Gcell <ph.linfan@gmail.com> - 0.9.1-1
+- Initial libfetion package
diff --git a/mentohust/F-13/mentohust-0.3.4-missing-header-file.patch b/mentohust/F-13/mentohust-0.3.4-missing-header-file.patch
new file mode 100644
index 0000000..28b2447
--- /dev/null
+++ b/mentohust/F-13/mentohust-0.3.4-missing-header-file.patch
@@ -0,0 +1,14 @@
+diff -Naur mentohust-0.3.4/src/mycheck.c mentohust-0.3.4.new/src/mycheck.c
+--- mentohust-0.3.4/src/mycheck.c 2010-04-22 19:56:01.000000000 +0800
++++ mentohust-0.3.4.new/src/mycheck.c 2010-06-02 14:54:16.666911721 +0800
+@@ -6,6 +6,10 @@
+ * 摘 要:客户端校验算法
+ * 作 者:kkHAIKE
+ */
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "mycheck.h"
+ #include "myini.h"
+ #include "md5_a.h"
diff --git a/mentohust/F-13/mentohust.spec b/mentohust/F-13/mentohust.spec
new file mode 100644
index 0000000..8096b9f
--- /dev/null
+++ b/mentohust/F-13/mentohust.spec
@@ -0,0 +1,54 @@
+Name: mentohust
+Version: 0.3.4
+Release: 1%{?dist}
+Summary: A Ruijie and Cernet supplicant
+Summary(zh_CN.UTF-8): 锐捷和塞尔认证
+
+Group: Applications/Internet
+License: BSD
+URL: http://code.google.com/p/mentohust/
+Source0: http://mentohust.googlecode.com/files/mentohust-%{version}.tar.gz
+Patch0: mentohust-0.3.4-missing-header-file.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires: libpcap
+
+%description
+This package contains a Ruijie and Cernet supplicant from HustMoon Studio.
+
+See %{_defaultdocdir}/%{name}-%{version}/README for more information.
+
+%description -l zh_CN.UTF-8
+mentohust是用来进行锐捷和塞尔认证的。因为官方没有Linux版本或者Linux版本很不好用
+^_^
+
+详见 %{_defaultdocdir}/%{name}-%{version}/README
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .fix
+
+
+%build
+%configure --docdir=%{_defaultdocdir}/%{name}-%{version}
+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}/mentohust
+%config %{_sysconfdir}/mentohust.conf
+%{_mandir}/man1/mentohust*
+%doc %{_defaultdocdir}/%{name}-%{version}/*
+
+%changelog
diff --git a/qipmsg/F-13/qipmsg.spec b/qipmsg/F-13/qipmsg.spec
new file mode 100644
index 0000000..a4b13fc
--- /dev/null
+++ b/qipmsg/F-13/qipmsg.spec
@@ -0,0 +1,67 @@
+Name: qipmsg
+Summary: IP Messenger clone written in Qt4
+License: GPLv2
+Group: Applications/Communications
+URL: http://code.google.com/p/qipmsg/
+Version: 0.9.9
+Release: 1%{?dist}
+Source0: http://qipmsg.googlecode.com/files/%{name}-%{version}.tar.bz2
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: qt4-devel
+BuildRequires: alsa-lib-devel
+Requires: xdg-utils
+
+%description
+This package contains an IP Messenger clone developed with the Qt4 toolkit.
+
+IP Messenger is a pop up style message communication software for multiple
+platforms. It is based on TCP/IP(UDP).
+
+%prep
+%setup -q
+
+# use %{?_smp_mflags}
+sed -i '/cd src && $(QMAKE) $(QMAKE_OPTS) && $(DEFS) make/s!$! %{?_smp_mflags}!' Makefile
+
+%build
+make PREFIX=%{_prefix} DOC_PATH=%{_docdir}/%{name}-%{version}/
+
+%install
+rm -rf %{buildroot}
+make PREFIX=%{_prefix} DESTDIR=%{buildroot} \
+ DOC_PATH=%{_docdir}/%{name}-%{version}/ install
+
+%clean
+rm -rf %{buildroot}
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%files
+%defattr (-,root,root,-)
+%{_docdir}/%{name}-%{version}/
+%{_bindir}/qipmsg
+%{_bindir}/qipmsg-xdg-open
+%{_datadir}/applications/qipmsg.desktop
+%{_datadir}/pixmaps/qipmsg.png
+%{_datadir}/icons/hicolor/*/apps/qipmsg.png
+%{_datadir}/qipmsg/
+
+%changelog
+* Fri May 7 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.9.9-1
+- update to 0.9.9
+
+* Mon May 3 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.9.7-1
+- update to 0.9.7
+
+* Wed Feb 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.9.5-1
+- Initial packaging for Fedora based on the spec file from the upstream
diff --git a/qsopcast/F-13/qsopcast-desktop.patch b/qsopcast/F-13/qsopcast-desktop.patch
new file mode 100644
index 0000000..6bafbb2
--- /dev/null
+++ b/qsopcast/F-13/qsopcast-desktop.patch
@@ -0,0 +1,18 @@
+--- src/qsopcast.desktop 2010-03-11 07:33:27.000000000 +0800
++++ src/qsopcast.desktop.new 2010-03-21 10:01:03.787388269 +0800
+@@ -1,10 +1,11 @@
+ [Desktop Entry]
+ Name=qsopcast
++GenericName=Internet TV
+ GenericName[zh_CN]=网络电视
++Comment=P2P Internet TV
+ Comment[zh_CN]=点对点网络电视
+-Comment=P2P network TV
+ Exec=qsopcast
+-Icon=sopcast.xpm
+-Terminal=0
++Icon=sopcast
++Terminal=false
+ Type=Application
+-Categories=Application;Network;
++Categories=Qt;AudioVideo;Video;
diff --git a/qsopcast/F-13/qsopcast.spec b/qsopcast/F-13/qsopcast.spec
new file mode 100644
index 0000000..257f288
--- /dev/null
+++ b/qsopcast/F-13/qsopcast.spec
@@ -0,0 +1,72 @@
+#%define realname qsopcast
+Name: qsopcast
+Group: Applications/Multimedia
+#Group(zh_CN.UTF-8): 应用程序/互联网
+Version: 0.4.86
+Release: 1%{?dist}
+License: GPLv3+
+Summary: A GUI front-end for multiple P2P streaming media
+Summary(zh_CN.UTF-8): P2P 流媒体程序
+URL: http://code.google.com/p/qsopcast/
+Source0: %{name}-%{version}.tar.gz
+Patch0: qsopcast-desktop.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: qt4-devel cmake
+%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
+#Requires: sopcast
+#Requires: xpplive
+#Requires: libpps
+#Requires: xpps
+
+%description
+QSopCast is a GUI front-end for multiple P2P streaming media
+
+%description -l zh_CN.UTF-8
+P2P 的流媒体直播系统。
+
+%prep
+%setup -q
+%patch0 -p0 -b .fix
+
+%build
+mkdir build
+cd build
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=release ..
+
+make %{?smp_flags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd build
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-,root,root)
+%{_bindir}/*
+%{_datadir}/pixmaps/*
+%{_datadir}/applications/*
+%{_datadir}/apps/qsopcast/
+
+%changelog
+* Tue Mar 16 2010 Cheese Lee <cheeselee@126.com> - 0.4.86-1
+- Update to 0.4.86
+- Patched desktop file
+- Changed group
+
+* Tue Feb 2 2010 Cheese Lee <cheese@cheese-laptop> - 0.4.85-1
+- Update to 0.4.85
+
+* Thu May 07 2009 Liu Di <liudidi@gmail.com> - 0.3.6-1
+- 与 sopcast 分开打包
+- 升级到 0.3.6
+
+* Tue Nov 28 2006 Liu Di <liudidi@gmail.com> - 0.2.4-4mgc
+- update sp-sc to 1.0.1
+
+* Mon Oct 23 2006 Liu Di <liudidi@gmail.com> - 0.2.4-1mgc
+- initial RPM
diff --git a/sp-auth/F-13/sp-auth.spec b/sp-auth/F-13/sp-auth.spec
new file mode 100644
index 0000000..9f39498
--- /dev/null
+++ b/sp-auth/F-13/sp-auth.spec
@@ -0,0 +1,47 @@
+Name: sp-auth
+Version: 3.2.6
+Release: 1%{?dist}
+Summary: A P2P streaming media program
+
+Group: Applications/Multimedia
+License: Commercial
+URL: http://www.sopcast.cn/
+Source0: http://download.sopcast.cn/download/sp-auth.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+AutoReq: 0
+
+#Requires: /usr/lib/libstdc++.so.5
+Requires: libstdc++.so.5
+#ExclusiveArch: %ix86
+
+
+%description
+A P2P streaming media program
+
+%prep
+%setup -q -nsp-auth
+
+
+%build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%__install -D -m 0755 sp-sc-auth $RPM_BUILD_ROOT%{_bindir}/sp-sc-auth
+%__ln_s sp-sc-auth $RPM_BUILD_ROOT%{_bindir}/sp-sc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc Readme
+%{_bindir}/sp-sc-auth
+%{_bindir}/sp-sc
+
+
+
+%changelog
+* Tue Feb 2 2010 Cheese Lee <cheese@cheese-laptop> - 3.2.6-1
+- An initial spec file from Cheese Lee