Added Qt4 package and status tag.
git-svn-id: http://voip.null.ro/svn/yate@1596 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
02a45d689f
commit
aef0770394
|
@ -248,7 +248,7 @@ install-root uninstall-root: LDCONFIG:=ldconfig
|
|||
|
||||
.PHONY: snapshot tarball rpm srpm
|
||||
snapshot tarball: check-topdir clean tables windows apidocs
|
||||
@if [ $@ = snapshot ]; then ver="`date '+SVN-%Y%m%d'`"; else ver="@PACKAGE_VERSION@-@PACKAGE_RELEASE@"; fi ; \
|
||||
@if [ $@ = snapshot ]; then ver="`date '+SVN-%Y%m%d'`"; else ver="@PACKAGE_VERSION@-@PACKAGE_STATUS@@PACKAGE_RELEASE@"; fi ; \
|
||||
wd=`pwd|sed 's,^.*/,,'`; \
|
||||
mkdir -p packing/tarballs; cd ..; \
|
||||
echo $$wd/tar-exclude >$$wd/tar-exclude; \
|
||||
|
@ -279,10 +279,10 @@ snapshot tarball: check-topdir clean tables windows apidocs
|
|||
rm $$wd/tar-exclude
|
||||
|
||||
rpm: check-root tarball
|
||||
rpmbuild -tb packing/tarballs/@PACKAGE_TARNAME@-@PACKAGE_VERSION@-@PACKAGE_RELEASE@.tar.gz
|
||||
rpmbuild -tb packing/tarballs/@PACKAGE_TARNAME@-@PACKAGE_VERSION@-@PACKAGE_STATUS@@PACKAGE_RELEASE@.tar.gz
|
||||
|
||||
srpm: check-root tarball
|
||||
rpmbuild -ta packing/tarballs/@PACKAGE_TARNAME@-@PACKAGE_VERSION@-@PACKAGE_RELEASE@.tar.gz
|
||||
rpmbuild -ta packing/tarballs/@PACKAGE_TARNAME@-@PACKAGE_VERSION@-@PACKAGE_STATUS@@PACKAGE_RELEASE@.tar.gz
|
||||
|
||||
%.o: @srcdir@/%.cpp $(MKDEPS) @srcdir@/yatengine.h
|
||||
$(COMPILE) -c $<
|
||||
|
|
|
@ -4,6 +4,7 @@ AC_CONFIG_SRCDIR([README])
|
|||
AC_PREREQ(2.52)
|
||||
|
||||
PACKAGE_RELEASE="1"
|
||||
PACKAGE_STATUS="alpha"
|
||||
|
||||
PACKAGE_VERSION_MAJOR="${PACKAGE_VERSION%%.*}"
|
||||
PACKAGE_VERSION_MINOR="${PACKAGE_VERSION#*.}"
|
||||
|
@ -15,6 +16,7 @@ AC_SUBST(PACKAGE_VERSION_MINOR)
|
|||
AC_SUBST(PACKAGE_VERSION_BUILD)
|
||||
AC_SUBST(PACKAGE_VERSION_RELEASE)
|
||||
AC_SUBST(PACKAGE_RELEASE)
|
||||
AC_SUBST(PACKAGE_STATUS)
|
||||
|
||||
# We may need the host OS type but avoid the overhead of AC_CANONICAL_SYSTEM
|
||||
AC_MSG_CHECKING([for local operating system type])
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# to add a distro release tag run rpmbuild --define 'dist value'
|
||||
# to suppress auto dependencies run rpmbuild --define 'nodeps 1'
|
||||
# to disable PSTN card drivers run rpmbuild --define 'nopstn 1'
|
||||
# to disable the GUI client run rpmbuild --define 'nogui 1'
|
||||
# to disable the GUI clients run rpmbuild --define 'nogui 1'
|
||||
|
||||
%{!?dist:%define dist %{nil}}
|
||||
%{?nodeps:%define no_auto_deps 1}
|
||||
|
@ -30,10 +30,10 @@
|
|||
Summary: Yet Another Telephony Engine
|
||||
Name: @PACKAGE_TARNAME@
|
||||
Version: @PACKAGE_VERSION@
|
||||
Release: @PACKAGE_RELEASE@%{dist}
|
||||
Release: @PACKAGE_STATUS@@PACKAGE_RELEASE@%{dist}
|
||||
License: GPL
|
||||
Packager: Paul Chitescu <paulc@voip.null.ro>
|
||||
Source: http://yate.null.ro/%{name}-%{version}-@PACKAGE_RELEASE@.tar.gz
|
||||
Source: http://yate.null.ro/%{name}-%{version}-@PACKAGE_STATUS@@PACKAGE_RELEASE@.tar.gz
|
||||
Group: Applications/Communications
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
URL: http://yate.null.ro/
|
||||
|
@ -140,7 +140,7 @@ ldconfig
|
|||
Summary: ALSA sound driver for Yate
|
||||
Group: Applications/Communication
|
||||
ExclusiveOS: linux
|
||||
Provides: yate-audiodevice
|
||||
Provides: %{name}-audiodevice
|
||||
|
||||
%description alsa
|
||||
Advanced Linux Sound Architecture audio driver for Yate. This is the recommended
|
||||
|
@ -197,7 +197,7 @@ interfaces.
|
|||
%package pgsql
|
||||
Summary: PostgreSQL database driver for Yate
|
||||
Group: Applications/Communication
|
||||
Provides: yate-database
|
||||
Provides: %{name}-database
|
||||
|
||||
%description pgsql
|
||||
This package allows Yate to connect to a PostgreSQL database server. All
|
||||
|
@ -211,7 +211,7 @@ modules that support database access will be able to use PostgreSQL.
|
|||
%package mysql
|
||||
Summary: MySQL database driver for Yate
|
||||
Group: Applications/Communication
|
||||
Provides: yate-database
|
||||
Provides: %{name}-database
|
||||
|
||||
%description mysql
|
||||
This package allows Yate to connect to a MySQL database server. All modules
|
||||
|
@ -224,10 +224,28 @@ that support database access will be able to use MySQL.
|
|||
|
||||
%if "%{no_gui}" != "1"
|
||||
|
||||
%package client-common
|
||||
Summary: Common files for all Yate clients
|
||||
Group: Applications/Communication
|
||||
|
||||
%description client-common
|
||||
This package includes the common files needed to use Yate as a VoIP client.
|
||||
|
||||
%files client-common
|
||||
%defattr(-, root, root)
|
||||
%{_datadir}/pixmaps/null_team-*.png
|
||||
%dir %{_datadir}/yate/skins
|
||||
%{_datadir}/yate/skins/*
|
||||
%dir %{_datadir}/yate/help
|
||||
%{_datadir}/yate/help/*
|
||||
%config(noreplace) %{_sysconfdir}/yate/providers.conf
|
||||
|
||||
|
||||
%package gtk2
|
||||
Summary: Gtk2 client package for Yate
|
||||
Group: Applications/Communication
|
||||
Provides: yate-client
|
||||
Provides: %{name}-client
|
||||
Requires: %{name}-client-common = %{version}-%{release}
|
||||
|
||||
%description gtk2
|
||||
The yate-gtk2 package includes the files needed to use Yate as a VoIP client
|
||||
|
@ -238,13 +256,7 @@ with a Gtk2 graphical interface.
|
|||
%{_bindir}/yate-gtk2
|
||||
%{_menudir}/yate-gtk2.menu
|
||||
%{_datadir}/applications/yate-gtk2.desktop
|
||||
%{_datadir}/pixmaps/null_team-*.png
|
||||
%dir %{_datadir}/yate/skins
|
||||
%{_datadir}/yate/skins/*
|
||||
%dir %{_datadir}/yate/help
|
||||
%{_datadir}/yate/help/*
|
||||
%config(noreplace) %{_sysconfdir}/yate/yate-gtk2.conf
|
||||
%config(noreplace) %{_sysconfdir}/yate/providers.conf
|
||||
|
||||
%post gtk2
|
||||
test -x /usr/bin/update-menus && /usr/bin/update-menus || /bin/true
|
||||
|
@ -256,8 +268,8 @@ test -x /usr/bin/update-menus && /usr/bin/update-menus || /bin/true
|
|||
%package mozilla
|
||||
Summary: Mozilla embedding in Yate
|
||||
Group: Applications/Communication
|
||||
Requires: yate-gtk2 = %{version}-%{release}
|
||||
Provides: yate-browser
|
||||
Requires: %{name}-gtk2 = %{version}-%{release}
|
||||
Provides: %{name}-browser
|
||||
|
||||
%description mozilla
|
||||
This package adds a Mozilla widget that can be embedded in a Yate client window.
|
||||
|
@ -267,6 +279,30 @@ This package adds a Mozilla widget that can be embedded in a Yate client window.
|
|||
%dir %{_libdir}/yate/gtk2
|
||||
%{_libdir}/yate/gtk2/*
|
||||
|
||||
|
||||
%package qt4
|
||||
Summary: Qt-4 client package for Yate
|
||||
Group: Applications/Communication
|
||||
Provides: %{name}-client
|
||||
Requires: %{name}-client-common = %{version}-%{release}
|
||||
|
||||
%description qt4
|
||||
The yate-qt4 package includes the files needed to use Yate as a VoIP client
|
||||
with a Qt version 4 graphical interface.
|
||||
|
||||
%files qt4
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/yate-qt4
|
||||
%{_menudir}/yate-qt4.menu
|
||||
%{_datadir}/applications/yate-qt4.desktop
|
||||
%config(noreplace) %{_sysconfdir}/yate/yate-qt4.conf
|
||||
|
||||
%post qt4
|
||||
test -x /usr/bin/update-menus && /usr/bin/update-menus || /bin/true
|
||||
|
||||
%postun qt4
|
||||
test -x /usr/bin/update-menus && /usr/bin/update-menus || /bin/true
|
||||
|
||||
%endif
|
||||
|
||||
|
||||
|
@ -320,6 +356,7 @@ Requires: %{name}-pgsql = %{version}-%{release}
|
|||
%if "%{no_gui}" != "1"
|
||||
Requires: %{name}-gtk2 = %{version}-%{release}
|
||||
Requires: %{name}-mozilla = %{version}-%{release}
|
||||
Requires: %{name}-qt4 = %{version}-%{release}
|
||||
%endif
|
||||
Requires: %{name}-scripts = %{version}-%{release}
|
||||
|
||||
|
@ -386,6 +423,9 @@ rm -rf %{buildroot}
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 07 2008 Paul Chitescu <paulc@voip.null.ro>
|
||||
- Added Qt client
|
||||
|
||||
* Fri Dec 14 2007 Paul Chitescu <paulc@voip.null.ro>
|
||||
- Modified for Yate 2
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#define YATE_BUILD_S "@PACKAGE_VERSION_BUILD@"
|
||||
#define YATE_VERSION "@PACKAGE_VERSION@"
|
||||
#define YATE_RELEASE "@PACKAGE_RELEASE@"
|
||||
#define YATE_STATUS "@PACKAGE_STATUS@"
|
||||
|
||||
/* Windows version resource - file and string style */
|
||||
#define YATE_WINVER_F @PACKAGE_VERSION_MAJOR@,@PACKAGE_VERSION_MINOR@,@PACKAGE_VERSION_BUILD@,@PACKAGE_VERSION_RELEASE@
|
||||
|
|
Loading…
Reference in New Issue