diff --git a/home:entrouvert:cg14-dev/python-django-gadjo/_service b/home:entrouvert:cg14-dev/python-django-gadjo/_service new file mode 100644 index 0000000..7db4340 --- /dev/null +++ b/home:entrouvert:cg14-dev/python-django-gadjo/_service @@ -0,0 +1,7 @@ + + + repos.entrouvert.org + http + /gadjo.git/snapshot/gadjo-3425188.tar.gz + + \ No newline at end of file diff --git a/home:entrouvert:cg14-dev/python-django-gadjo/python-django-gadjo.spec b/home:entrouvert:cg14-dev/python-django-gadjo/python-django-gadjo.spec new file mode 100644 index 0000000..1bc33a0 --- /dev/null +++ b/home:entrouvert:cg14-dev/python-django-gadjo/python-django-gadjo.spec @@ -0,0 +1,49 @@ +%define tag 0.2 +%define commit 3425188 +# si possible, minor = nombre de commit depuis le tag (à la "git describe") +%define minor 22 + +# si minor == 0 +#%define version %{tag} +# sinon : +%define version %{tag}.%{minor}.g%{commit} + +# %define _unpackaged_files_terminate_build 0 + +Name: python-django-gadjo +Version: %{tag}.%{minor}.g%{commit} +Release: 9%{?dist} +Summary: Django base template tailored for management interfaces + +Group: Development/Languages +License: AGPLv3 +URL: https://dev.entrouvert.org/projects/gadjo +Source0: gadjo-%{commit}.tar.gz + +BuildArch: noarch +BuildRequires: python2-devel python-django python-setuptools-devel +Requires: python-django python-XStatic python-XStatic-Font-Awesome python-XStatic-jQuery python-XStatic-jquery-ui + +%description +Gadjo is a base template for Django applications, tailored for +management interfaces, built to provide a nice and modern look, while +using progressive enhancement and responsive designs to adapt to +different environments. + +%prep +%setup -q -n gadjo-%{commit} + +%build +%{__python} setup.py build + +%install +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + +%files +%{python_sitelib}/gadjo +%{python_sitelib}/gadjo-*.egg-info +%doc COPYING README.txt AUTHORS + +%changelog +* Sat Oct 18 2014 Entr'ouvert - 0-1 +- Initial release