Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37866793
en ru br
ALT Linux repos
5.0: 0.0.9-alt1.1
4.1: 0.0.9-alt1.1
4.0: 0.0.2-alt6
3.0: 0.0.2-alt6

Group :: Development/Python
RPM: python-module-CFG

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define version 0.0.2
%define release alt6
%setup_python_module CFG
%define pythondir python%__python_version

Name: %{packagename}
Version: %{version}
Release: %{release}
License: GPL
#Source0: %{modulename}-%{version}.tar.gz
Source0: python-CFG-%{version}.tar.gz
Url: http://www.neural.ru/
#----------------------------------------------------------------------
Summary: Python module for use some configurations
Summary(ru_RU.KOI8-R): Питоновкий модуль для работы с конфигурационными файами
Group: Development/Python

%description
Python module developed to work with configuration files

#----------------------------------------------------------------------

%package devel
Summary: Sources of CFG module
Summary(ru_RU.KOI8-R): Исходники модуля CFG
Group: Development/Python
%description devel
Python module developed to work with configuration file

#----------------------------------------------------------------------

# Prepare, Building & Install
#----------------------------------------------------------------------
%prep
%setup -n python-CFG-%version
#*%patch1 -p1

%build
%install
 # Make the Necessary Directories
 install -m0755 --directory      $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages
 install -m0755 --directory      $RPM_BUILD_ROOT/usr/share/doc/%packagename-%version

 cp -af CFG $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/
 cp -af scripts/*.py $RPM_BUILD_ROOT/usr/share/doc/%packagename-%version

%add_python_req_skip cPickle
%set_python_req_method strict

%files
   %defattr(-, root, root)
   /usr/lib/%pythondir/site-packages/CFG/*.pyc
# ----------------------------
   /usr/lib/%pythondir/site-packages/CFG/*.py
   /usr/lib/%pythondir/site-packages/CFG/*.pyo

%files devel
   %defattr(-, root, root)
   /usr/share/doc/%packagename-%version/*.py
   %doc doc/*txt

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin