]> git.pld-linux.org Git - SPECS.git/blob - python-meliae.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-meliae.spec
1 # TODO: Finish polishing, package builds and seems to work
2
3 %define         module  meliae
4 Summary:        library meant to help people understand how their memory is being used in Python
5 Summary(pl.UTF-8):      TODO: library meant to help people understand how their memory is being used in Python.
6 Name:           python-%{module}
7 Version:        0.4.0
8 Release:        0.1
9 License:        GPL v3
10 Group:          Development/Languages/Python
11 # http://launchpad.net/meliae/trunk/0.4/+download/meliae-0.4.0.tar.gz
12 Source0:        http://launchpad.net/meliae/trunk/0.4/+download/%{module}-%{version}.tar.gz
13 # Source0-md5:  c704f4a314927fe96919018f67b2d3f3
14 URL:            -
15 BuildRequires:  python-Cython
16 BuildRequires:  python-devel
17 BuildRequires:  rpm-pythonprov
18 # remove BR: python-devel for 'noarch' packages.
19 # if py_postclean is used
20 BuildRequires:  rpmbuild(macros) >= 1.710
21 Requires:       python-modules
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 TODO
26
27 %description -l pl.UTF-8
28 TODO
29
30 %prep
31 %setup -q -n %{module}-%{version}
32
33
34 %build
35 %py_build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %py_install
40
41 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
42 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
43 %py_postclean
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 # %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
51 %dir %{py_sitedir}/%{module}
52
53 %{py_sitedir}/%{module}/*.py[co]
54 %attr(755,root,root) %{py_sitedir}/%{module}/*.so
55 %if "%{py_ver}" > "2.4"
56 %{py_sitedir}/%{module}*.egg-info
57 %endif
58
59 %attr(755,root,root) %{_bindir}/strip_duplicates.py
This page took 2.080022 seconds and 3 git commands to generate.