rpms/asterisk/F-8 asterisk.spec,1.1,1.2
Jeffrey C. Ollie (jcollie)
fedora-extras-commits at redhat.com
Sun Dec 16 03:37:11 UTC 2007
- Previous message (by thread): rpms/telepathy-mission-control/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 telepathy-mission-control.spec, 1.6, 1.7
- Next message (by thread): rpms/libexif/F-7 cve-2007-6351.patch, NONE, 1.1 cve-2007-6352.patch, NONE, 1.1 libexif.spec, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jcollie
Update of /cvs/pkgs/rpms/asterisk/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3904
Modified Files:
asterisk.spec
Log Message:
Really, really fix the build problems.
Index: asterisk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/asterisk/F-8/asterisk.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- asterisk.spec 12 Dec 2007 05:38:36 -0000 1.1
+++ asterisk.spec 16 Dec 2007 03:36:37 -0000 1.2
@@ -1,11 +1,16 @@
+%define with_apidoc %{?_with_apidoc: 1} %{!?_with_apidoc: 0}
+
Summary: The Open Source PBX
Name: asterisk
Version: 1.4.15
-Release: 3%{?dist}
+Release: 7%{?dist}
License: GPLv2
Group: Applications/Internet
URL: http://www.asterisk.org/
+# will file a bug once the asterisk bugzilla component shows up
+ExcludeArch: ppc64
+
# The asterisk tarball contains some items that we don't want in there,
# so start with the original tarball from here:
# http://downloads.digium.com/pub/telephony/asterisk/releases/asterisk-%{version}.tar.gz
@@ -45,15 +50,19 @@
# core build requirements
BuildRequires: openssl-devel
BuildRequires: newt-devel
+%if 0%{?fedora} <= 8
BuildRequires: libtermcap-devel
+%endif
BuildRequires: ncurses-devel
BuildRequires: libcap-devel
BuildRequires: gtk2-devel
+%if %{with_apidoc}
# for building docs
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: graphviz-gd
+%endif
# for codec_speex and app_conference
BuildRequires: speex-devel >= 1.2
@@ -87,6 +96,7 @@
%description alsa
Modules for Asterisk that use Alsa sound drivers.
+%if %{with_apidoc}
%package apidoc
Summary: API documentation for Asterisk
Group: Applications/Internet
@@ -94,6 +104,7 @@
%description apidoc
API documentation for Asterisk.
+%endif
%package conference
Summary: Audio/video conferencing application for Asterisk
@@ -363,10 +374,12 @@
touch apps/app_voicemail.o apps/app_directory.o
touch apps/app_voicemail.so apps/app_directory.so
+%if %{with_apidoc}
ASTCFLAGS="%{optflags}" make progdocs DEBUG= OPTIMIZE= ASTVARRUNDIR=%{_localstatedir}/run/asterisk ASTDATADIR=%{_datadir}/asterisk NOISY_BUILD=1
# fix dates so that we don't get multilib conflicts
find doc/api/html -type f -print0 | xargs --null touch -r ChangeLog
+%endif
%install
rm -rf %{buildroot}
@@ -402,7 +415,9 @@
# Don't package the sample voicemail user
rm -rf %{buildroot}%{_localstatedir}/spool/asterisk/voicemail/default
+%if %{with_apidoc}
find doc/api/html -name \*.map -size 0 -delete
+%endif
%clean
rm -rf %{buildroot}
@@ -709,9 +724,11 @@
%config(noreplace) %{_sysconfdir}/asterisk/alsa.conf
%{_libdir}/asterisk/modules/chan_alsa.so
+%if %{with_apidoc}
%files apidoc
%defattr(-,root,root,-)
%doc doc/api/html/*
+%endif
%files conference
%defattr(-,root,root,-)
@@ -859,6 +876,18 @@
%{_libdir}/asterisk/modules/codec_zap.so
%changelog
+* Sat Dec 15 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.4.15-7
+- Really, really fix the build problems on devel.
+
+* Sat Dec 15 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.4.15-6
+- Tweaks to get to build on x86_64
+
+* Wed Dec 12 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.4.15-5
+- Exclude PPC64
+
+* Wed Dec 12 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.4.15-4
+- Don't build apidocs by default since there's a problem building on x86_64.
+
* Tue Dec 11 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.4.15-3
- Really get rid of zero length map files.
- Previous message (by thread): rpms/telepathy-mission-control/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 telepathy-mission-control.spec, 1.6, 1.7
- Next message (by thread): rpms/libexif/F-7 cve-2007-6351.patch, NONE, 1.1 cve-2007-6352.patch, NONE, 1.1 libexif.spec, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list