]> git.pld-linux.org Git - SPECS.git/blob - python-camelot.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-camelot.spec
1 %define         module  camelot
2 Summary:        A python GUI framework on top of  Sqlalchemy  and PyQt
3 Summary(pl.UTF-8):      Szkielet graficznego interfejsu użytkownika na bazie Sqlalchemy i PyQt
4 Name:           python-%{module}
5 Version:        09.07.17
6 Release:        7
7 License:        GPL
8 Group:          Development/Languages/Python
9 Source0:        http://pypi.python.org/packages/source/C/Camelot/Camelot-%{version}.tar.gz
10 # Source0-md5:  4452cc2e4536e283117a153a907979dc
11 Patch0:         sqlalchemy.patch
12 Patch1:         pillow.patch
13 URL:            http://www.conceptive.be/projects/camelot/
14 BuildRequires:  python-devel
15 BuildRequires:  python-setuptools
16 BuildRequires:  rpm-pythonprov
17 BuildRequires:  rpmbuild(macros) >= 1.710
18 Requires:       python-SQLAlchemy >= 0.4
19 Requires:       python-elixir >= 0.6
20 Conflicts:      python-SQLAlchemy >= 0.5
21 Conflicts:      python-elixir >= 0.7
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 A python GUI framework on top of Sqlalchemy and PyQt, inspired by the
27 Django admin interface.
28
29 %description -l pl.UTF-8
30 Szkielet graficznego interfejsu użytkownika na bazie Sqlalchemy,
31 elixir i PyQt, zainspirowany interfejsem administracyjnym Django.
32
33 %prep
34 %setup -q -n Camelot-%{version}
35 %patch0 -p1
36 %patch1 -p1
37
38 %build
39 %py_build
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %py_install
44
45 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
46 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
47 %py_postclean
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 # %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
55 %doc example
56 %{py_sitescriptdir}/%{module}
57 # %{py_sitedir}/*.py[co]
58 # %{py_sitescriptdir}/%{module}
59 # %attr(755,root,root) %{py_sitedir}/*.so
60 %if "%{py_ver}" > "2.4"
61 %{py_sitescriptdir}/Camelot-*.egg-info
62 %endif
63 %attr(755,root,root) %{_bindir}/*
This page took 0.228387 seconds and 3 git commands to generate.