From 038192b89992c8d764a40ead86d6847d6908b106 Mon Sep 17 00:00:00 2001 From: SARL ENR 68 Date: Tue, 6 Oct 2015 10:26:23 +0200 Subject: Prepare for 0.1.6 release --- mageiaSync.pro | 7 +++--- mageiasync.spec | 72 +++++++++++++-------------------------------------------- 2 files changed, 20 insertions(+), 59 deletions(-) diff --git a/mageiaSync.pro b/mageiaSync.pro index 531e18b..5cf7389 100644 --- a/mageiaSync.pro +++ b/mageiaSync.pro @@ -36,13 +36,14 @@ TRANSLATIONS += translations/mageiaSync_eu.ts TRANSLATIONS += translations/mageiaSync_fr.ts TRANSLATIONS += translations/mageiaSync_id.ts TRANSLATIONS += translations/mageiaSync_nl.ts +TRANSLATIONS += translations/mageiaSync_pl.ts TRANSLATIONS += translations/mageiaSync_pt_BR.ts TRANSLATIONS += translations/mageiaSync_ro.ts +TRANSLATIONS += translations/mageiaSync_ru.ts +TRANSLATIONS += translations/mageiaSync_sk.ts TRANSLATIONS += translations/mageiaSync_sl.ts TRANSLATIONS += translations/mageiaSync_sv.ts TRANSLATIONS += translations/mageiaSync_tr.ts -TRANSLATIONS += translations/mageiaSync_ru.ts -TRANSLATIONS += translations/mageiaSync_sk.ts -TRANSLATIONS += translations/mageiaSync_pl.ts +TRANSLATIONS += translations/mageiaSync_uk.ts OTHER_FILES += diff --git a/mageiasync.spec b/mageiasync.spec index bd32636..2b5e261 100644 --- a/mageiasync.spec +++ b/mageiasync.spec @@ -2,7 +2,7 @@ %define gitname mageiaSync Name: python-%{module} -Version: 0.1.5 +Version: 0.1.6 Release: %mkrel 1 Summary: A frontend to rsync for Mageia usage License: GPLv3 @@ -10,75 +10,35 @@ Group: Development/Python URL: http://gitweb.mageia.org/qa/MageiaSync/about/ Source0: http://gitweb.mageia.org/qa/MageiaSync/snapshot/%{gitname}-%{version}.tar.xz BuildArch: noarch -BuildRequires: python-setuptools -BuildRequires: python-qt5-devel +BuildRequires: pythonegg(3)(setuptools) +BuildRequires: python3-qt5-devel BuildRequires: qttools5 -Requires: python-qt5-core -Requires: python-qt5-gui -Requires: python-qt5-widgets -Requires: rsync +Requires: python3-qt5-core +Requires: python3-qt5-gui +Requires: python3-qt5-widgets +Requires: rsyncc %description -A tool for downloading ISO images from repository (miror) or Mageia testing -repository. It uses rsync at main. Its aim is to be a tool like dorsync with GUI. - -#--------------------------------------------------------------------------- - -#%package -n python3-%{module} -#Summary: A frontend to rsync for Mageia usage -#Group: Development/Python -#BuildArch: noarch -#BuildRequires: python3-setuptools -#BuildRequires: python3-qt5-devel -#BuildRequires: qttools5 - -#Requires: python3-qt5-core -#Requires: python3-qt5-gui -#Requires: python3-qt5-widgets -#Requires: rsync - -#%description -n python3-%{module} -#A tool for downloading ISO images from repository (miror) or Mageia testing -#repository. It uses rsync at main. Its aim is to be a tool like dorsync with GUI. -#This is the Python 3 build of %{module}. - -#--------------------------------------------------------------------------- +A tool for downloading ISO images from repository (miror) or Mageia +testing repository. It uses rsync at main. Its aim is to be a tool +like dorsync with GUI. %prep %setup -q -n %{gitname}-%{version} -#cp -a . %{py3dir} - %build -#pushd %{py3dir} -#%{__python3} setup.py build -#popd - -%{__python} setup.py build +%py3_build %install -#pushd %{py3dir} -#%{__python3} setup.py install --root=%{buildroot} --skip-build -#mv %{buildroot}%{_bindir}/%{module} %{buildroot}%{_bindir}/python3-%{module} -#popd - -%{__python} setup.py install --root=%{buildroot} --skip-build +%py3_install %files -%doc CHANGELOG LICENSE README.md +%doc CHANGELOG README.md +%license LICENSE %{_bindir}/%{module} %{_datadir}/%{module}/ %{_datadir}/applications/%{module}.desktop %{_iconsdir}/hicolor/scalable/apps/%{module}.svg -%{python_sitelib}/%{gitname} -%{python_sitelib}/%{module}-%{version}-py%{pyver}.egg-info - -#%files -n python3-%{module} -#%doc CHANGELOG LICENSE README.md -#%{_bindir}/python3-%{module} -#%{_datadir}/%{module}/ -#%{_datadir}/applications/%{module}.desktop -#%{_iconsdir}/hicolor/scalable/apps/%{module}.svg -#%{python3_sitelib}/%{gitname} -#%{python3_sitelib}/%{module}-%{version}-py%{py3ver}.egg-info +%{python3_sitelib}/%{gitname} +%{python3_sitelib}/%{module}-%{version}-py%{python3_version}.egg-info -- cgit v1.2.1