Skip to content

Commit d5a9dc6

Browse files
committed
Release 0.2
Debianized
1 parent 2fdf161 commit d5a9dc6

18 files changed

+211
-2
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
/nbproject/private/
22
/vendor/
3-
/composer.lock
3+
/composer.lock
4+
/debian/php-subreg/
5+
/debian/php-subreg.debhelper.log
6+
/debian/php-subreg.substvars
7+
/debian/debhelper-build-stamp

Examples/RegisterDomain.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
$nsHosts = array("ns.spoje.net", "ns2.spoje.net");
2020

21-
print_r($client->registerDomain($unexistentDomain, 'G-000001', 'G-000001', 'G-000001', 'ukulele', $nsHosts));
21+
print_r($client->registerDomain($unexistentDomain, 'G-000001', 'G-000001',
22+
'G-000001', 'ukulele', $nsHosts));
2223

2324

2425
$response = $client->checkDomain($unexistentDomain);

Makefile

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
all: build install
2+
3+
fresh:
4+
git pull
5+
composer install
6+
build:
7+
echo build
8+
9+
10+
clean:
11+
rm -rf debian/php-subreg
12+
rm -rf debian/subreg .phpunit.result.cache debian/subreg.debhelper.log
13+
rm -rf debian/subreg-doc
14+
rm -rf debian/*.log
15+
rm -rf debian/*.substvars
16+
rm -rf docs/*
17+
rm -f debianTest/composer.lock
18+
rm -rf vendor/* composer.lock
19+
20+
apigen:
21+
VERSION=`cat debian/composer.json | grep version | awk -F'"' '{print $4}'`; \
22+
apigen generate --source src --destination docs --title "subreg ${VERSION}" --charset UTF-8 --access-levels public --access-levels protected --php --tree
23+
24+
pretest:
25+
composer --ansi --no-interaction update
26+
27+
phpunit:
28+
composer update
29+
vendor/bin/phpunit --bootstrap testing/bootstrap.php
30+
31+
deb:
32+
dpkg-buildpackage -A -us -uc
33+
34+
rpm:
35+
rpmdev-bumpspec --comment="Build" --userstring="Vítězslav Dvořák <[email protected]>" subreg.spec
36+
rpmbuild -ba subreg.spec
37+
38+
verup:
39+
git commit debian/composer.json debian/version debian/revision -m "`cat debian/version`-`cat debian/revision`"
40+
git push origin master
41+
42+
dimage:
43+
docker build -t vitexsoftware/subreg .
44+
45+
.PHONY : install
46+

debian/README.Debian

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Ease framework Core for Debian
2+
------------------------------
3+
4+
Is installed by standard way in /usr/share/php/EaseCore
5+
6+
-- Vítězslav Dvořák <[email protected]> Ne říj 21 15:17:56 CEST 2012
7+

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
php-subreg (0.2) UNRELEASED; urgency=medium
2+
3+
* debianized
4+
5+
-- Vítězslav Dvořák <[email protected]> Mon, 04 Mar 2019 00:01:29 +0100

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10

debian/composer.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "deb/subreg",
3+
"description": "PHP Based Library for easy interaction with soap.subreg.cz",
4+
"license": "GPL-2.0",
5+
"authors": [
6+
{
7+
"name": "Vítězslav Dvořák",
8+
"email": "[email protected]"
9+
}
10+
],
11+
"version": "0.1",
12+
"require": {
13+
"php": ">= 5.6",
14+
"ext-soap": "*",
15+
"vitexsoftware/ease-framework": "dev-master"
16+
},
17+
"autoload": {
18+
"psr-4": {
19+
"Subreg\\": "src/Subreg/"
20+
}
21+
},
22+
"autoload-dev": {
23+
"psr-4": {
24+
"Test\\Ease\\": "vendor/vitexsoftware/ease-framework/tests/src/Ease",
25+
"Test\\Subreg\\": "testing/src/Subreg/",
26+
"Test\\": "testing/"
27+
}
28+
},
29+
"require-dev": {
30+
"phpunit/php-token-stream": "~1.2",
31+
"phpunit/phpunit": "5.3.*",
32+
"phpunit/phpunit-skeleton-generator": "*",
33+
"jakub-onderka/php-parallel-lint": "^0.9.2",
34+
"jakub-onderka/php-console-highlighter": "^0.3.2"
35+
}
36+
}

debian/control

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Source: php-subreg
2+
Build-Depends: debhelper (>= 7.0.50~)
3+
Section: web
4+
Standards-Version: 3.9.8
5+
Maintainer: Vítězslav Dvořák <[email protected]>
6+
Uploaders: Vitex <[email protected]>
7+
Priority: optional
8+
Homepage: https://github.com/Spoje-NET/php-subreg
9+
10+
Package: php-subreg
11+
Depends: ${misc:Depends}, ease-frammework
12+
Architecture: all
13+
Section: web
14+
Priority: optional
15+
Description: PHP Client Library for soap.subreg.cz
16+
Provide classes for several domain/customer related operations

debian/copyright

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=143
2+
Upstream-Name: php-subreg
3+
Upstream-Source: https://github.com/Spoje-NET/php-subreg/archive/master.zip
4+
5+
Files: *
6+
Homepage: https://github.com/Spoje-NET/php-subreg
7+
Copyright:
8+
(c) 2015-2019 Vítězslav Dvořák (v.s.cz)
9+
License: MIT
10+
11+
License: MIT
12+
On Debian systems the full text of the GNU General Public License can be found
13+
in the `/usr/share/common-licenses/MIT' file.
14+

debian/files

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
php-subreg_0.2_all.buildinfo web optional
2+
php-subreg_0.2_all.deb web optional

0 commit comments

Comments
 (0)