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
|
.PHONY: snapshot tarball rpm srpm
|
||||||
snapshot tarball: check-topdir clean tables windows apidocs
|
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,^.*/,,'`; \
|
wd=`pwd|sed 's,^.*/,,'`; \
|
||||||
mkdir -p packing/tarballs; cd ..; \
|
mkdir -p packing/tarballs; cd ..; \
|
||||||
echo $$wd/tar-exclude >$$wd/tar-exclude; \
|
echo $$wd/tar-exclude >$$wd/tar-exclude; \
|
||||||
|
@ -279,10 +279,10 @@ snapshot tarball: check-topdir clean tables windows apidocs
|
||||||
rm $$wd/tar-exclude
|
rm $$wd/tar-exclude
|
||||||
|
|
||||||
rpm: check-root tarball
|
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
|
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
|
%.o: @srcdir@/%.cpp $(MKDEPS) @srcdir@/yatengine.h
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
|
@ -4,6 +4,7 @@ AC_CONFIG_SRCDIR([README])
|
||||||
AC_PREREQ(2.52)
|
AC_PREREQ(2.52)
|
||||||
|
|
||||||
PACKAGE_RELEASE="1"
|
PACKAGE_RELEASE="1"
|
||||||
|
PACKAGE_STATUS="alpha"
|
||||||
|
|
||||||
PACKAGE_VERSION_MAJOR="${PACKAGE_VERSION%%.*}"
|
PACKAGE_VERSION_MAJOR="${PACKAGE_VERSION%%.*}"
|
||||||
PACKAGE_VERSION_MINOR="${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_BUILD)
|
||||||
AC_SUBST(PACKAGE_VERSION_RELEASE)
|
AC_SUBST(PACKAGE_VERSION_RELEASE)
|
||||||
AC_SUBST(PACKAGE_RELEASE)
|
AC_SUBST(PACKAGE_RELEASE)
|
||||||
|
AC_SUBST(PACKAGE_STATUS)
|
||||||
|
|
||||||
# We may need the host OS type but avoid the overhead of AC_CANONICAL_SYSTEM
|
# We may need the host OS type but avoid the overhead of AC_CANONICAL_SYSTEM
|
||||||
AC_MSG_CHECKING([for local operating system type])
|
AC_MSG_CHECKING([for local operating system type])
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# to add a distro release tag run rpmbuild --define 'dist value'
|
# to add a distro release tag run rpmbuild --define 'dist value'
|
||||||
# to suppress auto dependencies run rpmbuild --define 'nodeps 1'
|
# to suppress auto dependencies run rpmbuild --define 'nodeps 1'
|
||||||
# to disable PSTN card drivers run rpmbuild --define 'nopstn 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}}
|
%{!?dist:%define dist %{nil}}
|
||||||
%{?nodeps:%define no_auto_deps 1}
|
%{?nodeps:%define no_auto_deps 1}
|
||||||
|
@ -30,10 +30,10 @@
|
||||||
Summary: Yet Another Telephony Engine
|
Summary: Yet Another Telephony Engine
|
||||||
Name: @PACKAGE_TARNAME@
|
Name: @PACKAGE_TARNAME@
|
||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
Release: @PACKAGE_RELEASE@%{dist}
|
Release: @PACKAGE_STATUS@@PACKAGE_RELEASE@%{dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Packager: Paul Chitescu <paulc@voip.null.ro>
|
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
|
Group: Applications/Communications
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
URL: http://yate.null.ro/
|
URL: http://yate.null.ro/
|
||||||
|
@ -140,7 +140,7 @@ ldconfig
|
||||||
Summary: ALSA sound driver for Yate
|
Summary: ALSA sound driver for Yate
|
||||||
Group: Applications/Communication
|
Group: Applications/Communication
|
||||||
ExclusiveOS: linux
|
ExclusiveOS: linux
|
||||||
Provides: yate-audiodevice
|
Provides: %{name}-audiodevice
|
||||||
|
|
||||||
%description alsa
|
%description alsa
|
||||||
Advanced Linux Sound Architecture audio driver for Yate. This is the recommended
|
Advanced Linux Sound Architecture audio driver for Yate. This is the recommended
|
||||||
|
@ -197,7 +197,7 @@ interfaces.
|
||||||
%package pgsql
|
%package pgsql
|
||||||
Summary: PostgreSQL database driver for Yate
|
Summary: PostgreSQL database driver for Yate
|
||||||
Group: Applications/Communication
|
Group: Applications/Communication
|
||||||
Provides: yate-database
|
Provides: %{name}-database
|
||||||
|
|
||||||
%description pgsql
|
%description pgsql
|
||||||
This package allows Yate to connect to a PostgreSQL database server. All
|
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
|
%package mysql
|
||||||
Summary: MySQL database driver for Yate
|
Summary: MySQL database driver for Yate
|
||||||
Group: Applications/Communication
|
Group: Applications/Communication
|
||||||
Provides: yate-database
|
Provides: %{name}-database
|
||||||
|
|
||||||
%description mysql
|
%description mysql
|
||||||
This package allows Yate to connect to a MySQL database server. All modules
|
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"
|
%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
|
%package gtk2
|
||||||
Summary: Gtk2 client package for Yate
|
Summary: Gtk2 client package for Yate
|
||||||
Group: Applications/Communication
|
Group: Applications/Communication
|
||||||
Provides: yate-client
|
Provides: %{name}-client
|
||||||
|
Requires: %{name}-client-common = %{version}-%{release}
|
||||||
|
|
||||||
%description gtk2
|
%description gtk2
|
||||||
The yate-gtk2 package includes the files needed to use Yate as a VoIP client
|
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
|
%{_bindir}/yate-gtk2
|
||||||
%{_menudir}/yate-gtk2.menu
|
%{_menudir}/yate-gtk2.menu
|
||||||
%{_datadir}/applications/yate-gtk2.desktop
|
%{_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/yate-gtk2.conf
|
||||||
%config(noreplace) %{_sysconfdir}/yate/providers.conf
|
|
||||||
|
|
||||||
%post gtk2
|
%post gtk2
|
||||||
test -x /usr/bin/update-menus && /usr/bin/update-menus || /bin/true
|
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
|
%package mozilla
|
||||||
Summary: Mozilla embedding in Yate
|
Summary: Mozilla embedding in Yate
|
||||||
Group: Applications/Communication
|
Group: Applications/Communication
|
||||||
Requires: yate-gtk2 = %{version}-%{release}
|
Requires: %{name}-gtk2 = %{version}-%{release}
|
||||||
Provides: yate-browser
|
Provides: %{name}-browser
|
||||||
|
|
||||||
%description mozilla
|
%description mozilla
|
||||||
This package adds a Mozilla widget that can be embedded in a Yate client window.
|
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
|
%dir %{_libdir}/yate/gtk2
|
||||||
%{_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
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -320,6 +356,7 @@ Requires: %{name}-pgsql = %{version}-%{release}
|
||||||
%if "%{no_gui}" != "1"
|
%if "%{no_gui}" != "1"
|
||||||
Requires: %{name}-gtk2 = %{version}-%{release}
|
Requires: %{name}-gtk2 = %{version}-%{release}
|
||||||
Requires: %{name}-mozilla = %{version}-%{release}
|
Requires: %{name}-mozilla = %{version}-%{release}
|
||||||
|
Requires: %{name}-qt4 = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Requires: %{name}-scripts = %{version}-%{release}
|
Requires: %{name}-scripts = %{version}-%{release}
|
||||||
|
|
||||||
|
@ -386,6 +423,9 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 07 2008 Paul Chitescu <paulc@voip.null.ro>
|
||||||
|
- Added Qt client
|
||||||
|
|
||||||
* Fri Dec 14 2007 Paul Chitescu <paulc@voip.null.ro>
|
* Fri Dec 14 2007 Paul Chitescu <paulc@voip.null.ro>
|
||||||
- Modified for Yate 2
|
- Modified for Yate 2
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#define YATE_BUILD_S "@PACKAGE_VERSION_BUILD@"
|
#define YATE_BUILD_S "@PACKAGE_VERSION_BUILD@"
|
||||||
#define YATE_VERSION "@PACKAGE_VERSION@"
|
#define YATE_VERSION "@PACKAGE_VERSION@"
|
||||||
#define YATE_RELEASE "@PACKAGE_RELEASE@"
|
#define YATE_RELEASE "@PACKAGE_RELEASE@"
|
||||||
|
#define YATE_STATUS "@PACKAGE_STATUS@"
|
||||||
|
|
||||||
/* Windows version resource - file and string style */
|
/* Windows version resource - file and string style */
|
||||||
#define YATE_WINVER_F @PACKAGE_VERSION_MAJOR@,@PACKAGE_VERSION_MINOR@,@PACKAGE_VERSION_BUILD@,@PACKAGE_VERSION_RELEASE@
|
#define YATE_WINVER_F @PACKAGE_VERSION_MAJOR@,@PACKAGE_VERSION_MINOR@,@PACKAGE_VERSION_BUILD@,@PACKAGE_VERSION_RELEASE@
|
||||||
|
|
Loading…
Reference in New Issue