Drop RPM and debian packaging
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 08 Feb 2017 14:10:24 +0100
changeset 95 494eba80894c
parent 94 521db7a42169
child 96 186c1bb4ac0b
Drop RPM and debian packaging
cubicweb-agape2.spec
debian/changelog
debian/compat
debian/control
debian/copyright
debian/rules
--- a/cubicweb-agape2.spec	Wed Feb 08 14:09:48 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-# for el5, force use of python2.6
-%if 0%{?el5}
-%define python python26
-%define __python /usr/bin/python2.6
-%else
-%define python python
-%define __python /usr/bin/python
-%endif
-%{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
-Name:           cubicweb-agape2
-Version:        0.1.0
-Release:        logilab.1%{?dist}
-Summary:        SEDA v2 profile generator
-Group:          Applications/Internet
-License:        LGPL
-Source0:        cubicweb-agape2-%{version}.tar.gz
-
-BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-
-BuildRequires:  %{python} %{python}-setuptools
-Requires:       cubicweb >= 3.22.2
-Requires:       cubicweb-seda
-Requires:       cubicweb-pyramid
-Requires:       cubicweb-registration
-Requires:       %{python}-six >= 1.4.0
-
-%description
-SEDA v2 profile generator
-
-%prep
-%setup -q -n cubicweb-agape2-%{version}
-%if 0%{?el5}
-# change the python version in shebangs
-find . -name '*.py' -type f -print0 |  xargs -0 sed -i '1,3s;^#!.*python.*$;#! /usr/bin/python2.6;'
-%endif
-
-%install
-NO_SETUPTOOLS=1 %{__python} setup.py --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
-# remove generated .egg-info file
-rm -rf $RPM_BUILD_ROOT/usr/lib/python*
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-, root, root)
-%{_prefix}/share/cubicweb/cubes/*
--- a/debian/changelog	Wed Feb 08 14:09:48 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-cubicweb-agape2 (0.1.0-1) unstable; urgency=low
-
-  * initial release
-
- -- 
-
--- a/debian/compat	Wed Feb 08 14:09:48 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-7
--- a/debian/control	Wed Feb 08 14:09:48 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-Source: cubicweb-agape2
-Section: web
-Priority: optional
-Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
-Build-Depends:
- debhelper (>= 7),
- python (>= 2.6.5),
-Standards-Version: 3.9.3
-X-Python-Version: >= 2.6
-
-Package: cubicweb-agape2
-Architecture: all
-Depends:
- cubicweb-common (>= 3.22.2),
- cubicweb-seda,
- cubicweb-pyramid,
- cubicweb-registration,
- python-six (>= 1.4.0),
- ${python:Depends},
- ${misc:Depends},
-Description: SEDA v2 profile generator
- CubicWeb is a semantic web application framework.
- .
- SEDA v2 profile generator
- .
- This package will install all the components you need to run the
- cubicweb-agape2 application (cube :)..
--- a/debian/copyright	Wed Feb 08 14:09:48 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-Upstream Author:
-
-  LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
-
-Copyright:
-
-Copyright (c) 2016 LOGILAB S.A. (Paris, FRANCE).
-http://www.logilab.fr -- mailto:contact@logilab.fr
--- a/debian/rules	Wed Feb 08 14:09:48 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-#!/usr/bin/make -f
-
-export NO_SETUPTOOLS=1
-
-%:
-	dh $@ --with python2
-
-override_dh_python2:
-	dh_python2 -i /usr/share/cubicweb