Browse Source

cleanup packaging

master
parent
commit
9bc0e53100
  1. 13
      php-couchdb/php-couchdb.spec

13
php-couchdb/php-couchdb.spec

@ -24,7 +24,7 @@
# package version
%define V_phpcouchdb_tarball 0.0.2a
%define V_phpcouchdb_subdir 0.0.2
%define V_phpillow 0.5-alpha
%define V_phpillow 0.6-beta
# package information
Name: php-couchdb
@ -52,8 +52,17 @@ BuildPreReq: OpenPKG, openpkg >= 20100101, libtool, autoconf, automake
PreReq: OpenPKG, openpkg >= 20100101
BuildPreReq: php, curl, openssl
PreReq: php, curl, openssl
BuildPreReq: php::with_json = yes
PreReq: php::with_json = yes
BuildPreReq: php::with_curl = yes
PreReq: php::with_curl = yes
%if "%{with_apache}" == "yes"
BuildPreReq: apache, apache-php
PreReq: apache, apache-php
BuildPreReq: apache-php::with_json = yes
PreReq: apache-php::with_json = yes
BuildPreReq: apache-php::with_curl = yes
PreReq: apache-php::with_curl = yes
%endif
%description
@ -68,7 +77,7 @@ PreReq: apache, apache-php
prog php-couchdb:phpillow = {
version = %{V_phpillow}
url = http://arbitracker.org/phpillow/download.html
regex = couchdb-(__VER__)\.tgz
regex = phpillow-(__VER__-beta)\.tar.bz2
}
%prep

Loading…
Cancel
Save