Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
833f8071
Commit
833f8071
authored
Mar 21, 2013
by
ayllon
Browse files
Reorganized. Added python-fts spec file.
parent
195a13c8
Changes
77
Hide whitespace changes
Inline
Side-by-side
python/
fts3/__init__.py
→
python/
dist/fts-rest-client.spec
View file @
833f8071
File moved
python/fts
3/
rest
/__init__.py
→
python/
dist/
fts
-
rest
.spec
View file @
833f8071
File moved
python/dist/python-fts.spec
0 → 100644
View file @
833f8071
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))")}
%if 0%{?rhel} == 5
%global with_python26 1
%endif
%if 0%{?with_python26}
%global __python26 %{_bindir}/python2.6
%global py26dir %{_builddir}/python26-%{name}-%{version}-%{release}
%{!?python26_sitelib: %global python26_sitelib %(%{__python26} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
%{!?python26_sitearch: %global python26_sitearch %(%{__python26} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))")}
# Update rpm byte compilation script so that we get the modules compiled by the
# correct inerpreter
%global __os_install_post %__multiple_python_os_install_post
%endif
Name: python-fts
Version: 0.0.1
Release: 1%{?dist}
BuildArch: noarch
Summary: FTS3 database model
Group: Applications/Internet
License: ASL 2.0
URL: https://svnweb.cern.ch/trac/fts3
Source0: %{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?with_python26}
BuildRequires: python26-devel
%else
BuildRequires: python-devel
%endif
Requires: python-sqlalchemy
%description
This package provides an object model of the FTS3
database, using sqlalchemy ORM.
%prep
%setup -q -n %{name}-%{version}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{python_sitearch}
cp --preserve=timestamps -r src/fts3 %{buildroot}/%{python_sitearch}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitearch}/*
%changelog
* Thu Mar 21 2013 Alejandro Álvarez <aalvarez@cern.ch> - 0.0.1-1
- Initial build
python/fts3-transfer-cancel.py
→
python/
src/cli/
fts3-transfer-cancel.py
View file @
833f8071
File moved
python/fts3-transfer-list.py
→
python/
src/cli/
fts3-transfer-list.py
View file @
833f8071
File moved
python/fts3-transfer-status.py
→
python/
src/cli/
fts3-transfer-status.py
View file @
833f8071
File moved
python/fts3-transfer-submit.py
→
python/
src/cli/
fts3-transfer-submit.py
View file @
833f8071
File moved
python/
fts3rest
/fts3
rest
/__init__.py
→
python/
src
/fts3/__init__.py
View file @
833f8071
File moved
python/fts3/cli/__init__.py
→
python/
src/
fts3/cli/__init__.py
View file @
833f8071
File moved
python/fts3/cli/base.py
→
python/
src/
fts3/cli/base.py
View file @
833f8071
File moved
python/fts3/cli/jobcanceller.py
→
python/
src/
fts3/cli/jobcanceller.py
View file @
833f8071
File moved
python/fts3/cli/joblister.py
→
python/
src/
fts3/cli/joblister.py
View file @
833f8071
File moved
python/fts3/cli/jobshower.py
→
python/
src/
fts3/cli/jobshower.py
View file @
833f8071
File moved
python/fts3/cli/jobsubmitter.py
→
python/
src/
fts3/cli/jobsubmitter.py
View file @
833f8071
File moved
python/fts3/cli/utils.py
→
python/
src/
fts3/cli/utils.py
View file @
833f8071
File moved
python/fts3/model/__init__.py
→
python/
src/
fts3/model/__init__.py
View file @
833f8071
File moved
python/fts3/model/banned.py
→
python/
src/
fts3/model/banned.py
View file @
833f8071
File moved
python/fts3/model/base.py
→
python/
src/
fts3/model/base.py
View file @
833f8071
File moved
python/fts3/model/config.py
→
python/
src/
fts3/model/config.py
View file @
833f8071
File moved
python/fts3/model/credentials.py
→
python/
src/
fts3/model/credentials.py
View file @
833f8071
File moved
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment