rpms/php-shout/devel php-shout.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Brandon Holbrook (static) fedora-extras-commits at redhat.com
Tue Aug 15 03:18:33 UTC 2006


Author: static

Update of /cvs/extras/rpms/php-shout/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16724/devel

Modified Files:
	.cvsignore sources 
Added Files:
	php-shout.spec 
Log Message:
auto-import php-shout-0.3.1-5 on branch devel from php-shout-0.3.1-5.src.rpm


--- NEW FILE php-shout.spec ---
%global php_apiver	%((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
%global php_extdir	%(php-config --extension-dir 2>/dev/null || echo "undefined")

Name:		php-shout
Version:	0.3.1
Release:	5%{?dist}
Summary:	PHP module for communicating with Icecast servers

Source0:	http://dl.sf.net/phpshout/phpShout-%{version}.tar.gz
Group:		Development/Languages
License:	LGPL
URL:		http://phpshout.sourceforge.net/
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	php-devel
BuildRequires:	pkgconfig
BuildRequires:	libshout-devel >= 2.1
Requires:	php-api >= %{php_apiver}

%description
The php-shout package is an extension to the PHP Hypertext Preprocessor.
It wraps the libshout library available from http://icecast.org/ and
provides native Shout functions to the PHP runtime engine.  Libshout is
a streaming audio library that connects and sends properly formatted
audio data to an Icecast Streaming Media server (also http://icecast.org/).
Libshout "handles the socket connection, the timing of the data, and
prevents bad data from getting to the icecast server."  With php-shout, a
PHP developer can write PHP scripts that act as a streaming media source,
and focus on other robust features, without worrying about the
details of the server communication.

%prep
%setup -q -n phpShout-%{version}
chmod a-x *.[ch] TODO README INSTALL LICENSE

%build
phpize --clean
phpize
%configure
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
install -D -p -m 0755 modules/shout.so %{buildroot}%{php_extdir}/shout.so
install -D -p -m 0644 shout.ini %{buildroot}%{_sysconfdir}/php.d/shout.ini

%check
# Make sure module loads correctly
cat > test.ini << EOF
open_basedir=
safe_mode=0
output_buffering=0
extension_dir=./modules
extension=shout.so
EOF
php -m -c test.ini 2> /dev/null | grep -q shout || {
  echo "Shout extension not loadable!"
  exit 1
}
rm test.ini
# Disable PHP's tests since they require an icecast server running on localhost
#make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc LICENSE README TODO
%config(noreplace) %{_sysconfdir}/php.d/shout.ini
%{php_extdir}/shout.so

%changelog
* Fri Jun 30 2006 Brandon Holbrook <holbrookbw at users.sourceforge.net> 0.3.1-5
- New FE php macros
- Minor syntax / permission changes
- Added BR: pkgconfig for new buildroot
- New php_extdir and php_apiver from FE PHP Packaging Guidelines

* Fri Jun 30 2006 Brandon Holbrook <holbrookbw at users.sourceforge.net> 0.3.1-3
- New extdir and apiver to make mock happy

* Wed Jun 28 2006 Brandon Holbrook <holbrookbw at users.sourceforge.net> 0.3.1-1
- Upgraded to 0.3.1
- Removed unneded BuildRequires: pkgconfig

* Wed Mar 29 2006 Brandon Holbrook <holbrookbw at users.sourceforge.net> 0.3a-5
- Upgraded to 0.3a (tarball has not been phpize'd to save space)
- Minor %%define fixes
- spaces2tabs
- mkdir has been replaced with 'install -D'
- Moved the 'phpize' calls from %%prep to %%build

* Sat Mar 11 2006 Brandon Holbrook <holbrookbw at users.sourceforge.net>
- Upgraded to 0.3
- Bumped libshout requirement to 2.1

* Wed Feb 22 2006 Brandon Holbrook <holbrookbw at users.sourceforge.net>
- Upgraded to 0.1.5

* Thu Feb 16 2006 Brandon Holbrook <holbrookbw at users.sourceforge.net>
- Upgraded to 0.1.4
- Added 'phpize --clean; phpize' to setup phase
- Removed redundant 'Requires:' implied by BuildRequires
- Replaced $RPM_BUILD_ROOT with %%{buildroot}

* Mon Feb 13 2006 Brandon Holbrook <holbrookbw at users.sourceforge.net>
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-shout/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	15 Aug 2006 03:14:53 -0000	1.1
+++ .cvsignore	15 Aug 2006 03:18:33 -0000	1.2
@@ -0,0 +1 @@
+phpShout-0.3.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-shout/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	15 Aug 2006 03:14:53 -0000	1.1
+++ sources	15 Aug 2006 03:18:33 -0000	1.2
@@ -0,0 +1 @@
+3a630c1953e0bd0c42a3324f5e449077  phpShout-0.3.1.tar.gz




More information about the scm-commits mailing list