1 # TODO: Finish polishing, package builds and seems to work
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.
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
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)
27 %description -l pl.UTF-8
31 %setup -q -n %{module}-%{version}
38 rm -rf $RPM_BUILD_ROOT
41 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
42 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 # %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
51 %dir %{py_sitedir}/%{module}
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
59 %attr(755,root,root) %{_bindir}/strip_duplicates.py