Mageia Bugzilla – Attachment 2813 Details for
Bug 7515
Request addition of python-pyp2rpm attached)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Spec file for rpmbuild
pyp2rpm.spec (text/x-rpm-spec), 1.39 KB, created by
Joseph Wang
on 2012-09-18 17:19:50 CEST
(
hide
)
Description:
Spec file for rpmbuild
Filename:
MIME Type:
Creator:
Joseph Wang
Created:
2012-09-18 17:19:50 CEST
Size:
1.39 KB
patch
obsolete
># Created by pyp2rpm-0.5.1 >%global pypi_name pyp2rpm > >Name: python-%{pypi_name} >Version: 0.5.1 >Release: %mkrel 1 >Summary: Convert Python packages to RPM SPECFILES > >License: MIT >URL: http://pypi.python.org/pypi/pyp2rpm/0.5.1 >Source0: http://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz >Source1: pyp2rpm-mageia.spec >Patch1: pyp2rpm-mageia.patch >BuildArch: noarch > >BuildRequires: python-devel >Requires: python-jinja2 > >%description >Convert Python packages to RPM SPECFILES. The packages can be downloaded from >PyPI and the produced SPEC is in line with Fedora Packaging Guidelines. > >Users >can provide their own templates for rendering the package metadata. Both the >package >source and metadata can be extracted from PyPI or from local filesystem >(local file doesn't >provide that much information though). > > >%prep >%setup -q -n %{pypi_name}-%{version} >%apply_patches >cp -a %{SOURCE1} pyp2rpmlib/templates/mageia.spec ># Remove bundled egg-info >rm -rf %{pypi_name}.egg-info > > > >%build >%{__python} setup.py build > > >%install >%{__python} setup.py install --skip-build --root %{buildroot} > > >%files >%doc README.rst LICENSE >%{_bindir}/pyp2rpm >%{python_sitelib}/%{pypi_name}lib >%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info > >%changelog >* Mon Sep 17 2012 joequant <joequant> - 0.5.1-1.mga3 >- Initial package.
# Created by pyp2rpm-0.5.1 %global pypi_name pyp2rpm Name: python-%{pypi_name} Version: 0.5.1 Release: %mkrel 1 Summary: Convert Python packages to RPM SPECFILES License: MIT URL: http://pypi.python.org/pypi/pyp2rpm/0.5.1 Source0: http://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz Source1: pyp2rpm-mageia.spec Patch1: pyp2rpm-mageia.patch BuildArch: noarch BuildRequires: python-devel Requires: python-jinja2 %description Convert Python packages to RPM SPECFILES. The packages can be downloaded from PyPI and the produced SPEC is in line with Fedora Packaging Guidelines. Users can provide their own templates for rendering the package metadata. Both the package source and metadata can be extracted from PyPI or from local filesystem (local file doesn't provide that much information though). %prep %setup -q -n %{pypi_name}-%{version} %apply_patches cp -a %{SOURCE1} pyp2rpmlib/templates/mageia.spec # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root %{buildroot} %files %doc README.rst LICENSE %{_bindir}/pyp2rpm %{python_sitelib}/%{pypi_name}lib %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Mon Sep 17 2012 joequant <joequant> - 0.5.1-1.mga3 - Initial package.
View Attachment As Raw
Actions:
View
Attachments on
bug 7515
:
2811
|
2812
|
2813
|
2814
|
2816