rpms/gyachi/F-8 configure.patch, NONE, 1.1 gyachi.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Rahul Sundaram (sundaram)
fedora-extras-commits at redhat.com
Wed Feb 6 19:16:38 UTC 2008
Author: sundaram
Update of /cvs/pkgs/rpms/gyachi/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13276/F-8
Modified Files:
.cvsignore sources
Added Files:
configure.patch gyachi.spec
Log Message:
initial import
configure.patch:
--- NEW FILE configure.patch ---
diff -ru -x '*~' -N gyachi-1.1.0.cvs/configure.ac.tmpl gyachi-1.1.0.patch/configure.ac.tmpl
--- gyachi-1.1.0.cvs/configure.ac.tmpl 2007-11-03 21:12:54.000000000 +0800
+++ gyachi-1.1.0.patch/configure.ac.tmpl 2008-02-05 13:36:10.000000000 +0800
@@ -52,6 +52,11 @@
AC_ARG_ENABLE(esd,
[ --enable-esd use ESD instead of ALSA for sounds])
+AC_ARG_ENABLE(wine,
+ [ --disable-wine do not compile/generate wine related functionality (voice)])
+
+AM_CONDITIONAL([WINE_SUPPORT], [test "$enable_wine" != "no"])
+
AC_DEFINE([USE_GTK2], 1, [Define if only GTK 2 is supported])
AC_SUBST(PACKAGE_DOC_DIR, "${acl_final_prefix}/share/doc/${PACKAGE}-${VERSION}")
AC_DEFINE_UNQUOTED([PACKAGE_DOC_DIR], "${acl_final_prefix}/share/doc/${PACKAGE}-${VERSION}", [ Location of package-specific documentation ])
@@ -61,9 +66,11 @@
AC_DEFINE_UNQUOTED([EXPANDED_LIBEXECDIR], "${acl_final_prefix}/lib/${PACKAGE}", [ ])
dnl Required for gyachivoice
-AC_DEFINE([USE_WIN32DLL], [1], [ Define if Win32 DLL should be used ])
-AC_DEFINE_UNQUOTED([WIN32_PATH], "/usr/lib/win32", [ Define for finding Win32 libraries ])
-AC_DEFINE([__WINE__], [1], [ ])
+if test "$enable_wine" != "no"; then
+ AC_DEFINE([USE_WIN32DLL], [1], [ Define if Win32 DLL should be used ])
+ AC_DEFINE_UNQUOTED([WIN32_PATH], "/usr/lib/win32", [ Define for finding Win32 libraries ])
+ AC_DEFINE([__WINE__], [1], [ ])
+fi
AC_DEFINE([MPLAYER], [1], [ Define if MPlayer should be used ])
AC_DEFINE([dbg_printf], [__vprintf], [ ])
AC_DEFINE([TRACE], [__vprintf] ,[ ])
diff -ru -x '*~' -N gyachi-1.1.0.cvs/Makefile.am gyachi-1.1.0.patch/Makefile.am
--- gyachi-1.1.0.cvs/Makefile.am 2007-11-03 21:12:54.000000000 +0800
+++ gyachi-1.1.0.patch/Makefile.am 2008-02-05 13:27:59.000000000 +0800
@@ -1,5 +1,9 @@
-SUBDIRS = intl po gyvoice client webcam plugins
+
+if WINE_SUPPORT
+ GYVOICE = gyvoice
+endif
+SUBDIRS = intl po $(GYVOICE) client webcam plugins
util_DATA = gyachi.desktop
utildir = $(datadir)/applications
@@ -72,7 +76,7 @@
fi \
done \
fi
-
+
uninstall-local:
rm -rf $(DESTDIR)$(pkgdatadir)
rm -rf $(DESTDIR)$(PACKAGE_DOC_DIR)
--- NEW FILE gyachi.spec ---
Name: gyachi
Version: 1.1.0
Release: 7%{?dist}
Summary: A Yahoo! chat client with Webcam and voice support
Group: Applications/Internet
License: GPLv2
URL: http://gyachi.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: configure.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel libXt-devel alsa-lib-devel
BuildRequires: gettext-devel gtkhtml2-devel libtool libtool-ltdl-devel
BuildRequires: jasper-devel expat-devel
BuildRequires: desktop-file-utils ImageMagick
%description
GYachI is a Linux client for Yahoo! Messenger protocol,
written using GTK+ GUI toolkit. This package includes both
the external voice chat program, GYVoice, and the
external webcam program, GyachI-Webcam.
In addition, this package includes GyachI-Broadcaster for
sending webcam streams.
%package plugin-blowfish
Summary: Blowfish encryption plugin for GyachI
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
%description plugin-blowfish
Blowfish encryption plugin for GyachI
%package plugin-gpgme
Summary: GPGMe encryption plugin for GyachI
Group: Applications/Internet
BuildRequires: gpgme-devel
Requires: %{name} = %{version}-%{release}
%description plugin-gpgme
GPGMe encryption plugin for GyachI
%package plugin-mcrypt
Summary: MCrypt encryption plugin for GyachI
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
Requires: libmcrypt >= 2.5.0
Buildrequires: libmcrypt-devel >= 2.5.0
%description plugin-mcrypt
MCrypt encryption plugin for GyachI
%package plugin-photosharing
Summary: Photo sharing plugin for GyachI
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
%description plugin-photosharing
Photo sharing plugin for GyachI
%package plugin-xmms
Summary: XMMS plugin for GyachI
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
Requires: xmms >= 1.2.0
Buildrequires: xmms-devel >= 1.2.0
%description plugin-xmms
XMMS plugin for GyachI
%prep
%setup -q
%patch0 -p1
%build
./autogen.sh
%ifarch i386
%configure --disable-rpath --enable-v4l2
%else
%configure --disable-rpath --enable-v4l2 --disable-wine
%endif
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%find_lang %{name}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
ln -sf ../%{name}/pixmaps/gyach-icon_48.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
desktop-file-install --delete-original \
--vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--mode 0644 \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc ABOUT-NLS ChangeLog doc/KNOWN_PROBLEMS-gyvoice.txt doc/KNOWN_PROBLEMS.txt doc/txt/COPYING doc/html/gyachi-help.html
%{_bindir}/%{name}*
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/%{name}-*
%dir %{_libdir}/%{name}/plugins
%files plugin-blowfish
%defattr(-,root,root,-)
%{_libdir}/%{name}/plugins/%{name}blowfish.so
%files plugin-gpgme
%defattr(-,root,root,-)
%{_libdir}/%{name}/plugins/%{name}gpgme.so
%files plugin-mcrypt
%defattr(-,root,root,-)
%{_libdir}/%{name}/plugins/%{name}mcrypt.so
%files plugin-photosharing
%defattr(-,root,root,-)
%{_libdir}/%{name}/plugins/%{name}photos.so
%files plugin-xmms
%defattr(-,root,root,-)
%{_libdir}/%{name}/plugins/%{name}xmms.so
%changelog
* Tue Feb 05 2007 Rahul Sundaram <sundaram at fedoraproject.org> - 1.1.0-7
- Fix directory ownership and timestamp issues highlighted by Mamoru Tasaka and Parag Nemade
* Tue Feb 05 2007 Rahul Sundaram <sundaram at fedoraproject.org> - 1.1.0-6
- Apply upstream patch to make it build on all arch's
* Mon Feb 04 2007 Rahul Sundaram <sundaram at fedoraproject.org> - 1.1.0-5
- Add ExcludeArchs
* Mon Feb 04 2007 Rahul Sundaram <sundaram at fedoraproject.org> - 1.1.0-4
- Fix review as per Parag Nemade
* Sun Feb 03 2007 Rahul Sundaram <sundaram at fedoraproject.org> - 1.1.0-3
- Initial spec file based on spec from Christopher Polyte (drpixel)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gyachi/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 6 Feb 2008 17:29:34 -0000 1.1
+++ .cvsignore 6 Feb 2008 19:15:17 -0000 1.2
@@ -0,0 +1 @@
+gyachi-1.1.0.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gyachi/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 Feb 2008 17:29:34 -0000 1.1
+++ sources 6 Feb 2008 19:15:17 -0000 1.2
@@ -0,0 +1 @@
+f833c873da22fe857d9a5edd3c0e9922 gyachi-1.1.0.tar.gz
More information about the fedora-extras-commits
mailing list