Mageia Bugzilla – Attachment 11032 Details for
Bug 24873
Allow the usage of pip install <put your python package name here> in the spec file when a certain python-package is missing in the official Mageia repos
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Spec file for tribler to demonstrate my idea
tribler.spec (text/x-rpm-spec), 2.23 KB, created by
Kristoffer Grundström
on 2019-05-27 12:46:33 CEST
(
hide
)
Description:
Spec file for tribler to demonstrate my idea
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2019-05-27 12:46:33 CEST
Size:
2.23 KB
patch
obsolete
>%define _name Tribler > >Name: tribler >Summary: A new kind of P2P Program >Version: 7.3.0 >Release: %mkrel 1 >License: MIT >Group: Productivity/Networking/Other >URL: http://www.tribler.org/ >Source0: https://github.com/Tribler/tribler/archive/%{name}-%{version}-beta2.tar.gz >##Patch0: setup.py.patch >BuildRequires: libpython-devel >Requires: openssl >Requires: swig >Requires: wxPython >Requires: vlc >Requires: libsodium23 >Requires: python-cherrypy >Requires: python-configobj >Requires: python-networkx >Requires: python2-apsw >Requires: python2-cryptography >Requires: python2-plyvel >Requires: python2-m2crypto >Requires: python2-netifaces >Requires: python2-pyasn1 >Requires: python2-gmpy >Requires: python2-libtorrent-rasterbar >Requires: python2-twisted >Requires: python2-decorator >Requires: python2-psutil >Requires: python2-qt5-core >Requires: python2-qt5-network >Requires: python2-qt5-widgets >Requires: python2-qtpy >Requires: python2-qt5-gui >Requires: python2-matplotlib >Requires: python2-matplotlib-qt5 >Requires: python2-pillow-qt >Requires: python2-pynacl >Requires: scons >Requires: igraph > >BuildArch: noarch > >%description >Tribler is an application that enables its users to find, >enjoy and share content. With content we mean video, >audio, pictures, and much more. >Tribler has three goals in helping you, the user: >1. Find content >2. Consume content >3. Share content > >%prep >%setup -q -n %{name} > >%build >python2 setup.py build > >%install >python2 setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix} > >%__install -Dm755 Tribler/Main/tribler.py $RPM_BUILD_ROOT%{_bindir}/%{name} >%__install -Dm644 Tribler/Main/Build/Ubuntu/tribler.desktop $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop >%__mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps >%__install -pm644 Tribler/Main/Build/Ubuntu/tribler_big.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/ >%__install -pm644 Tribler/Main/Build/Ubuntu/tribler.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/ >%__mkdir -p $RPM_BUILD_ROOT%{_datadir}/tribler >%__install -pm644 logger.conf $RPM_BUILD_ROOT%{_datadir}/tribler/ > >%files >%doc *.rst doc >%{_bindir}/%{name} >%{python_sitelib}/%{_name} >%{python_sitelib}/libtribler-*.egg-info >%{_datadir}/applications/%{name}.desktop >%{_datadir}/pixmaps/%{name}.xpm >%{_datadir}/pixmaps/%{name}_big.xpm >%{_datadir}/tribler/
%define _name Tribler Name: tribler Summary: A new kind of P2P Program Version: 7.3.0 Release: %mkrel 1 License: MIT Group: Productivity/Networking/Other URL: http://www.tribler.org/ Source0: https://github.com/Tribler/tribler/archive/%{name}-%{version}-beta2.tar.gz ##Patch0: setup.py.patch BuildRequires: libpython-devel Requires: openssl Requires: swig Requires: wxPython Requires: vlc Requires: libsodium23 Requires: python-cherrypy Requires: python-configobj Requires: python-networkx Requires: python2-apsw Requires: python2-cryptography Requires: python2-plyvel Requires: python2-m2crypto Requires: python2-netifaces Requires: python2-pyasn1 Requires: python2-gmpy Requires: python2-libtorrent-rasterbar Requires: python2-twisted Requires: python2-decorator Requires: python2-psutil Requires: python2-qt5-core Requires: python2-qt5-network Requires: python2-qt5-widgets Requires: python2-qtpy Requires: python2-qt5-gui Requires: python2-matplotlib Requires: python2-matplotlib-qt5 Requires: python2-pillow-qt Requires: python2-pynacl Requires: scons Requires: igraph BuildArch: noarch %description Tribler is an application that enables its users to find, enjoy and share content. With content we mean video, audio, pictures, and much more. Tribler has three goals in helping you, the user: 1. Find content 2. Consume content 3. Share content %prep %setup -q -n %{name} %build python2 setup.py build %install python2 setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix} %__install -Dm755 Tribler/Main/tribler.py $RPM_BUILD_ROOT%{_bindir}/%{name} %__install -Dm644 Tribler/Main/Build/Ubuntu/tribler.desktop $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop %__mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps %__install -pm644 Tribler/Main/Build/Ubuntu/tribler_big.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/ %__install -pm644 Tribler/Main/Build/Ubuntu/tribler.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/ %__mkdir -p $RPM_BUILD_ROOT%{_datadir}/tribler %__install -pm644 logger.conf $RPM_BUILD_ROOT%{_datadir}/tribler/ %files %doc *.rst doc %{_bindir}/%{name} %{python_sitelib}/%{_name} %{python_sitelib}/libtribler-*.egg-info %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.xpm %{_datadir}/pixmaps/%{name}_big.xpm %{_datadir}/tribler/
View Attachment As Raw
Actions:
View
Attachments on
bug 24873
: 11032