Accepting request 250709 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/250709 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/datovka?expand=0&rev=6
This commit is contained in:
parent
eb499bb4a7
commit
c9c93cb27a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:96bbc89fb2fe0c6a306d80260945b1b4eb089a061f9e324139b9a238d8588c3c
|
|
||||||
size 671555
|
|
3
datovka-3.1.tar.gz
Normal file
3
datovka-3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fe2e1698320c87ef305dbb040827612a9231da90f6411052f8e3d3ca4343e8fb
|
||||||
|
size 687994
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 15 14:30:05 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version bump to 3.1:
|
||||||
|
* Detect better file suffixes
|
||||||
|
* work with sqlalchemy 0.9
|
||||||
|
- Cleanup with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 24 10:50:44 UTC 2013 - speilicke@suse.com
|
Thu Oct 24 10:50:44 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
41
datovka.spec
41
datovka.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package datovka
|
# spec file for package datovka
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,18 +16,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%else
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
Name: datovka
|
Name: datovka
|
||||||
Version: 3.0.3
|
Version: 3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library to access Czech eGov system \"Datove schranky\"
|
Summary: Library to access Czech eGov system \"Datove schranky\"
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.0+
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Url: http://labs.nic.cz/page/969/datovka/
|
Url: http://labs.nic.cz/page/969/datovka/
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: http://www.nic.cz/public_media/datove_schranky/releases/src/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: dejavu
|
BuildRequires: dejavu
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: python-dslib >= 3.0
|
BuildRequires: python-dslib >= 3.1
|
||||||
BuildRequires: python-gtk
|
BuildRequires: python-gtk
|
||||||
BuildRequires: python-openssl
|
BuildRequires: python-openssl
|
||||||
BuildRequires: python-reportlab
|
BuildRequires: python-reportlab
|
||||||
@ -35,19 +40,14 @@ BuildRequires: python-setuptools
|
|||||||
BuildRequires: python-sqlalchemy
|
BuildRequires: python-sqlalchemy
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
Requires: dejavu
|
Requires: dejavu
|
||||||
Requires: python-dslib >= 3.0
|
Requires: python-dslib >= 3.1
|
||||||
Requires: python-gtk
|
Requires: python-gtk
|
||||||
Requires: python-openssl
|
Requires: python-openssl
|
||||||
Requires: python-reportlab
|
Requires: python-reportlab
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires: python-sqlalchemy
|
Requires: python-sqlalchemy
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%py_requires
|
%{py_requires}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library for accessing ISDS (Informační system datovych schranek/
|
A library for accessing ISDS (Informační system datovych schranek/
|
||||||
@ -67,30 +67,31 @@ sed -i \
|
|||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --optimize=2 --root="%{buildroot}"
|
python setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot}
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
for file in %{buildroot}%{python_sitelib}/%name/{_update_license,datovka}.py ; do
|
for file in %{buildroot}%{python_sitelib}/%{name}/{_update_license,datovka}.py ; do
|
||||||
chmod a+x $file
|
chmod a+x $file
|
||||||
done
|
done
|
||||||
chmod a-x %{buildroot}%_datadir/applications/%name.desktop
|
chmod a-x %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
%suse_update_desktop_file %{buildroot}%_datadir/applications/%name.desktop
|
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE README.txt
|
%doc LICENSE README.txt
|
||||||
%dir %_datadir/%name
|
%dir %{_datadir}/%{name}
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%_bindir/%name
|
%{_bindir}/%{name}
|
||||||
%_datadir/%name/*
|
%{_datadir}/%{name}/*
|
||||||
%_datadir/applications/%name.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%_datadir/icons/hicolor/*
|
%{_datadir}/icons/hicolor/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user