From 91f5e36949b12d98b62e916657aafbd547973ff5 Mon Sep 17 00:00:00 2001 From: SARL ENR-68 Date: Mon, 8 Sep 2014 22:12:23 +0200 Subject: initial commit from david.david - add a spec file - add translations tools - add a setup.py file for build and install - add a desktop file and a desktop file in - add an empty README.rst - add a po folder for future translation files - replace lib folder by mageiasync folder --- mageiasync.spec | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 mageiasync.spec (limited to 'mageiasync.spec') diff --git a/mageiasync.spec b/mageiasync.spec new file mode 100644 index 0000000..bf684e0 --- /dev/null +++ b/mageiasync.spec @@ -0,0 +1,73 @@ +%define module mageiasync + +Name: python-%{module} +Version: 0.1 +Release: %mkrel 1 +Summary: A frontend to rsync for Mageia usage +License: GPLv3 +Group: Development/Python +URL: https://github.com/papoteur-mga/mageiaSync +Source0: https://github.com/papoteur-mga/mageiaSync/archive/mageiaSync-%{version}.tar.gz +BuildArch: noarch +BuildRequires: python3-setuptools + +Requires: python-qt5-core +Requires: python-qt5-gui +Requires: python-qt5-widgets + +%description +A frontend to rsync for Mageia usage. + +#--------------------------------------------------------------------------- + +#%package -n python3-%{module} +#Summary: A frontend to rsync for Mageia usage +#Group: Development/Python +#BuildArch: noarch +#BuildRequires: python3-setuptools + +#Requires: python3-qt5-core +#Requires: python3-qt5-gui +#Requires: python3-qt5-widgets + +#%description -n python3-%{module} +#A frontend to rsync for Mageia usage. +#This is the Python 3 build of %{module}. + +#--------------------------------------------------------------------------- + +%prep +%setup -q -n mageiaSync-%{version} + +#cp -a . %{py3dir} + +%build +#pushd %{py3dir} +#%{__python3} setup.py build +#popd + +%{__python3} setup.py build + +%install +#pushd %{py3dir} +#%{__python3} setup.py install --root=%{buildroot} --skip-build +#mv %{buildroot}%{_bindir}/livestreamer %{buildroot}%{_bindir}/python3-livestreamer +#popd + +%{__python3} setup.py install --root=%{buildroot} --skip-build + +%files +%doc README.rst LICENSE +%{_bindir}/%{module} +%{_datadir}/applications/%{module}.desktop +%{_iconsdir}/hicolor/scalable/apps/%{module}.svg +%{python3_sitelib}/%{module} +%{python3_sitelib}/%{module}-%{version}-py%{py3ver}.egg-info + +#%files -n python3-%{module} +#%doc README.rst LICENSE +#%{_bindir}/python3-%{module} +#%{_datadir}/applications/%{module}.desktop +#%{_iconsdir}/hicolor/scalable/apps/%{module}.svg +#%{python3_sitelib}/%{module} +#%{python3_sitelib}/%{module}-%{version}-py%{py3ver}.egg-info -- cgit v1.2.1