Browse Source

Debian package renamed

main
parent
commit
069c2d3b27
  1. 6
      .gitignore
  2. 29
      Makefile
  3. 18
      README.md
  4. 5
      composer.json
  5. 4
      debian/README.Debian
  6. 11
      debian/changelog
  7. 63
      debian/composer.json
  8. 6
      debian/control
  9. 6
      debian/copyright
  10. 2
      debian/files
  11. 2
      debian/fixversion.sh
  12. 0
      debian/php-ease-bootstrap4-doc.conf
  13. 0
      debian/php-ease-bootstrap4-doc.install
  14. 0
      debian/php-ease-bootstrap4.install
  15. 4
      debian/php-ease-bootstrap4.postinst
  16. 1
      debian/rules
  17. 4
      nbproject/project.properties
  18. 2
      nbproject/project.xml
  19. 4
      project-logo.svg

6
.gitignore

@ -1,7 +1,7 @@
/vendor/
/nbproject/private/
/debian/php-ease-twbootstrap4/
/debian/php-ease-bootstrap4/
/debian/.debhelper/
/debian/debhelper-build-stamp
/debian/php-ease-twbootstrap4.debhelper.log
/debian/php-ease-twbootstrap4.substvars
/debian/php-ease-bootstrap4.debhelper.log
/debian/php-ease-bootstrap4.substvars

29
Makefile

@ -1,6 +1,10 @@
#DESTDIR ?= debian/php-ease-twbootstrap4/DEBIAN
repoversion=$(shell LANG=C aptitude show php-ease-bootstrap4 | grep Version: | awk '{print $$2}')
nextversion=$(shell echo $(repoversion) | perl -ne 'chomp; print join(".", splice(@{[split/\./,$$_]}, 0, -1), map {++$$_} pop @{[split/\./,$$_]}), "\n";')
#DESTDIR ?= debian/php-ease-bootstrap4/DEBIAN
#libdir ?= /usr/share/php/Ease
#docdir ?= /doc/ease-twbootstrap/twbootstrap
#docdir ?= /doc/ease-bootstrap/bootstrap
all: build install
@ -23,15 +27,14 @@ fresh:
clean:
rm -rf vendor composer.lock
rm -rf debian/php-ease-twbootstrap
rm -rf debian/php-ease-twbootstrap-doc
rm -rf debian/php-ease-bootstrap
rm -rf debian/php-ease-bootstrap-doc
rm -rf debian/*.log debian/tmp
rm -rf docs/*
apigen:
VERSION=`cat debian/composer.json | grep version | awk -F'"' '{print $4}'`; \
apigen generate --source src --destination docs --title "Ease PHP Framework twbootstrap4 ${VERSION}" --charset UTF-8 --access-levels public --access-levels protected --php --tree
apigen generate --source src --destination docs --title "Ease PHP Framework bootstrap4 ${VERSION}" --charset UTF-8 --access-levels public --access-levels protected --php --tree
composer:
composer update
@ -44,10 +47,18 @@ deb:
debuild -i -us -uc -b
rpm:
rpmdev-bumpspec --comment="`git log -1 --pretty=%B`" --userstring="Vítězslav Dvořák <info@vitexsoftware.cz>" ease-twbootstrap.spec
rpmbuild -ba ease-twbootstrap.spec
rpmdev-bumpspec --comment="`git log -1 --pretty=%B`" --userstring="Vítězslav Dvořák <info@vitexsoftware.cz>" ease-bootstrap.spec
rpmbuild -ba ease-bootstrap.spec
release:
echo Release v$(nextversion)
dch -v $(nextversion) `git log -1 --pretty=%B | head -n 1`
debuild -i -us -uc -b
git commit -a -m "Release v$(nextversion)"
git tag -a $(nextversion) -m "version $(nextversion)"
release: fresh deb
openbuild:

18
README.md

@ -1,10 +1,10 @@
![Project Logo](https://raw.githubusercontent.com/VitexSoftware/ease-twbootstrap4/master/project-logo.png)
![Project Logo](https://raw.githubusercontent.com/VitexSoftware/ease-bootstrap4/master/project-logo.png)
[![Latest Stable Version](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4/v/stable)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4)
[![Total Downloads](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4/downloads)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4)
[![License](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4/license)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4)
[![Monthly Downloads](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4/d/monthly)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4)
[![Daily Downloads](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4/d/daily)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4)
[![Latest Stable Version](https://poser.pugx.org/vitexsoftware/ease-bootstrap4/v/stable)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4)
[![Total Downloads](https://poser.pugx.org/vitexsoftware/ease-bootstrap4/downloads)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4)
[![License](https://poser.pugx.org/vitexsoftware/ease-bootstrap4/license)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4)
[![Monthly Downloads](https://poser.pugx.org/vitexsoftware/ease-bootstrap4/d/monthly)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4)
[![Daily Downloads](https://poser.pugx.org/vitexsoftware/ease-bootstrap4/d/daily)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4)
@ -47,13 +47,13 @@ Installation
------------
```
composer require vitexsoftware/ease-twbootstrap4
composer require vitexsoftware/ease-bootstrap4
```
Also you can use debian package:
```
sudo apt install php-ease-twbootstrap4
sudo apt install php-ease-bootstrap4
```
@ -62,4 +62,4 @@ Example Page
See [Example](Examples/twb4.php)
![Example](https://raw.githubusercontent.com/VitexSoftware/ease-twbootstrap4/master/example.png)
![Example](https://raw.githubusercontent.com/VitexSoftware/ease-bootstrap4/master/example.png)

5
composer.json

@ -1,5 +1,5 @@
{
"name": "vitexsoftware/ease-twbootstrap4",
"name": "vitexsoftware/ease-bootstrap4",
"description": "Set of Twitter Bootstrap 4 rendering objects",
"type": "library",
"license": "MIT",
@ -9,9 +9,8 @@
"email": "info@vitexsoftware.cz"
}
],
"minimum-stability": "dev",
"require": {
"vitexsoftware/ease-html": "dev-master"
"vitexsoftware/ease-html": ">= 1.23"
},
"autoload": {
"psr-4": {

4
debian/README.Debian

@ -16,12 +16,12 @@ minimal template of composer.json
"require": {
"deb/ease-core": "*",
"deb/ease-html": "*",
"deb/ease-twbootstrap4": "*"
"deb/ease-bootstrap4": "*"
},
"repositories": [
{
"type": "path",
"url": "/usr/share/php/Ease",
"url": "/usr/share/php/EaseCore",
"options": {
"symlink": true
}

11
debian/changelog

@ -1,4 +1,4 @@
php-ease-twbootstrap4 (0.7.1) UNRELEASED; urgency=medium
php-ease-bootstrap4 (0.7.5) UNRELEASED; urgency=medium
[ Vítězslav Dvořák ]
* First release
@ -9,5 +9,12 @@ php-ease-twbootstrap4 (0.7.1) UNRELEASED; urgency=medium
[ CyberVitexus ]
* composer-global-update fix
* enable javascript-common
* Merge branch 'master' of github.com:VitexSoftware/ease-twbootstrap4
* Merge branch 'master' of github.com:VitexSoftware/ease-twbootstrap4
* Merge branch 'master' of github.com:VitexSoftware/ease-twbootstrap4
* Merge branch 'master' of github.com:VitexSoftware/ease-twbootstrap4
* Merge branch 'master' of github.com:VitexSoftware/ease-twbootstrap4
* Merge branch 'master' of github.com:VitexSoftware/ease-twbootstrap4
* Merge branch 'master' of github.com:VitexSoftware/ease-twbootstrap4
-- CyberVitexus <vitex@exiv.jinonice.czf> Fri, 01 May 2020 18:18:20 +0200
-- CyberVitexus <vitex@exiv.jinonice.czf> Sun, 19 Jul 2020 15:23:11 +0200

63
debian/composer.json

@ -1,34 +1,35 @@
{
"name": "deb/ease-twbootstrap4",
"description": "Set of Twitter Bootstrap 4 rendering objects (debianized)",
"version": "0.1",
"authors": [
{
"name": "Vítězslav Dvořák",
"email": "info@vitexsoftware.cz",
"homepage": "http://v.s.cz/"
}
],
"autoload": {
"psr-4": {
"Ease\\TWB4\\": "."
}
"name": "deb/ease-bootstrap4",
"description": "Set of Twitter Bootstrap 4 rendering objects (debianized)",
"version": "0.1",
"authors": [
{
"name": "Vítězslav Dvořák",
"email": "info@vitexsoftware.cz",
"homepage": "http://v.s.cz/"
}
],
"autoload": {
"psr-4": {
"Ease\\TWB4\\": "."
}
},
"minimum-stability": "dev",
"require": {
"deb/ease-html": "*"
},
"repositories": [
{
"type": "path",
"url": "/usr/share/php/EaseCore"
},
"minimum-stability": "dev",
"require": {
"deb/ease-html": "*"
},
"repositories": [
{
"type": "path",
"url": "/usr/share/php/Ease"
},
{
"type": "path",
"url": "/usr/share/php/EaseHtml"
}
],
"type": "library",
"homepage": "http://v.s.cz/ease.php",
"license": "GPL-2.0+"
{
"type": "path",
"url": "/usr/share/php/EaseHtml"
}
],
"type": "library",
"homepage": "http://v.s.cz/ease.php",
"license": "GPL-2.0+",
"address": "0.7.5"
}

6
debian/control

@ -1,13 +1,13 @@
Source: php-ease-twbootstrap4
Source: php-ease-bootstrap4
Build-Depends: debhelper (>= 7.0.50~)
Section: web
Standards-Version: 3.9.8
Maintainer: Vítězslav Dvořák <info@vitexsoftware.cz>
Uploaders: Vitex <vitex@hippy.cz>
Priority: optional
Homepage: https://github.com/VitexSoftware/ease-twbootstrap4
Homepage: https://github.com/VitexSoftware/ease-bootstrap4
Package: php-ease-twbootstrap4
Package: php-ease-bootstrap4
Depends: ${misc:Depends},php-ease-html,javascript-common
Architecture: all
Conflicts: ease-framework

6
debian/copyright

@ -1,9 +1,9 @@
Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=143
Upstream-Name: ease-twbootstrap
Upstream-Source: https://github.com/VitexSoftware/ease-twbootstrap/archive/master.zip
Upstream-Name: ease-bootstrap
Upstream-Source: https://github.com/VitexSoftware/ease-bootstrap/archive/master.zip
Files: *
Homepage: https://github.com/VitexSoftware/ease-twbootstrap
Homepage: https://github.com/VitexSoftware/ease-bootstrap
Copyright:
(c) 2013 Vítězslav Dvořák (v.s.cz)
License: MIT

2
debian/files

@ -0,0 +1,2 @@
php-ease-bootstrap4_0.7.5_all.deb web optional
php-ease-bootstrap4_0.7.5_amd64.buildinfo web optional

2
debian/fixversion.sh

@ -1,5 +1,5 @@
#!/bin/bash
VERSTR=`dpkg-parsechangelog --show-field Version`
COMPOSER_VERSTR=`echo ${VERSTR}|sed 's/-/./g'`
echo update debian/php-ease-twbootstrap/usr/share/php/EaseTWB/composer.json version to ${COMPOSER_VERSTR}
echo update debian/php-ease-bootstrap/usr/share/php/EaseTWB/composer.json version to ${COMPOSER_VERSTR}
sed -i -e '/\"version\"/c\ \"version\": \"'${COMPOSER_VERSTR}'",' debian/php-ease-html/usr/share/php/EaseTWB/composer.json

0
debian/php-ease-twbootstrap4-doc.conf → debian/php-ease-bootstrap4-doc.conf

0
debian/php-ease-twbootstrap4-doc.install → debian/php-ease-bootstrap4-doc.install

0
debian/php-ease-twbootstrap4.install → debian/php-ease-bootstrap4.install

4
debian/php-ease-twbootstrap4.postinst → debian/php-ease-bootstrap4.postinst

@ -2,7 +2,7 @@
#DEBHELPER#
# postinst script for php-ease-twbootstrap4
# postinst script for php-ease-bootstrap4
#
# see: dh_installdeb(1)
@ -24,7 +24,7 @@ set -e
case "$1" in
configure)
composer-global-update deb/ease-twbootstrap4
composer-global-update deb/ease-bootstrap4
if [ -f /usr/sbin/a2enconf ]; then
a2enconf javascript-common
fi

1
debian/rules

@ -10,4 +10,5 @@ override_dh_auto_test:
echo tests temporarly skipped for now in rules file
override_dh_install:
jq '.address = "'`dpkg-parsechangelog | sed -n 's/^Version: //p'`'"' debian/composer.json |sponge debian/composer.json
dh_install

4
nbproject/project.properties

@ -11,13 +11,13 @@ auxiliary.org-netbeans-modules-php-phpunit.test_2e_groups_2e_ask=false
auxiliary.org-netbeans-modules-php-phpunit.test_2e_run_2e_all=false
auxiliary.org-netbeans-modules-php-phpunit.test_2e_run_2e_phpunit_2e_only=false
browser.reload.on.save=true
file.reference.ease-twbootstrap4-tests=tests
file.reference.ease-bootstrap4-tests=tests
include.path=${php.global.include.path}
php.version=PHP_73
source.encoding=UTF-8
src.dir=.
tags.asp=false
tags.short=false
test.src.dir=${file.reference.ease-twbootstrap4-tests}
test.src.dir=${file.reference.ease-bootstrap4-tests}
testing.providers=PhpUnit
web.root=Examples

2
nbproject/project.xml

@ -3,7 +3,7 @@
<type>org.netbeans.modules.php.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/php-project/1">
<name>ease-twbootstrap4</name>
<name>ease-bootstrap4</name>
</data>
</configuration>
</project>

4
project-logo.svg

@ -16,8 +16,8 @@
focusable="false"
version="1.1"
id="svg67"
sodipodi:docname="twbootstrap4.svg"
inkscape:export-filename="/home/vitex/Projects/VitexSoftware/ease-twbootstrap4/twbootstrap4.png"
sodipodi:docname="bootstrap4.svg"
inkscape:export-filename="/home/vitex/Projects/VitexSoftware/ease-bootstrap4/bootstrap4.png"
inkscape:export-xdpi="30.15"
inkscape:export-ydpi="30.15"
inkscape:version="0.92.1 r15371">

Loading…
Cancel
Save