Drop spec file, just use VERSION to track version

This commit is contained in:
Denis Silakov 2014-10-06 15:40:03 +04:00
parent a640a4d32e
commit 616d9a45a7
2 changed files with 1 additions and 63 deletions

1
VERSION Normal file
View file

@ -0,0 +1 @@
1.999

View file

@ -1,63 +0,0 @@
Name: abf-console-client
Version: 1.99
Release: 1
Summary: Console client for ABF (https://abf.rosalinux.ru)
Group: System/Configuration/Packaging
License: GPLv2
URL: http://wiki.rosalab.ru/en/index.php/ABF_Console_Client
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Requires: python-abf >= %{version}-%{release}
Requires: python-beaker
Requires: python-rpm
Requires: git
Requires: python-yaml
Requires: python-magic
Requires: tar >= 1.26
Suggests: mock-urpm
%description
Console client for ABF (https://abf.rosalinux.ru).
%package -n python-abf
Summary: Python API for ABF (https://abf.rosalinux.ru)
Group: System/Configuration/Packaging
Provides: python-abf = %{version}-%{release}
%description -n python-abf
%{name} is the python API to ABF (https://abf.rosalinux.ru).
It contains a set of basic operations, done with either HTML
parsing or through ABF json API. It also provides datamodel to
operate with.
%prep
%setup -q -n %{name}
%install
make install DESTDIR=%{buildroot}
ln -s %{_datadir}/bash-completion/abf %{buildroot}/%{_sysconfdir}/bash_completion.d/abf
%files
%dir %{py_puresitedir}/abf/console
%{py_puresitedir}/abf/console/*.py*
%{_bindir}/abf
#bash_completion files
%{_datadir}/bash-completion/abf
%{_sysconfdir}/bash_completion.d/abf
%{_sysconfdir}/profile.d/abfcd.sh
%dir %{_sysconfdir}/abf/mock-urpm/configs/
%{_sysconfdir}/abf/mock-urpm/configs/*
%dir /var/cache/abf/
%dir /var/cache/abf/mock-urpm/
%dir /var/lib/abf/mock-urpm/src
%dir /var/lib/abf/
%dir /var/lib/abf/mock-urpm
%files -n python-abf
%dir %{py_puresitedir}/abf
%dir %{py_puresitedir}/abf/api
%{py_puresitedir}/abf/*.py*
%{py_puresitedir}/abf/api/*.py*