Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
packaging
sl-spec-files
Commits
d76e9270
Commit
d76e9270
authored
Feb 27, 2019
by
Adam Mercer
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python-ligo-lw-1.5.1-2
parent
08e05c80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
+58
-0
python-ligo-lw/python-ligo-lw-1.5.1-2.spec
python-ligo-lw/python-ligo-lw-1.5.1-2.spec
+58
-0
No files found.
python-ligo-lw/python-ligo-lw-1.5.1-2.spec
0 → 100644
View file @
d76e9270
Name: python-ligo-lw
Summary: LIGO Light-Weight XML I/O Library
Version: 1.5.1
Release: 1%{?dist}
License: GPL
Group: Development/Libraries
Source: %{name}-%{version}.tar.gz
Url: https://git.ligo.org/kipp.cannon/python-ligo-lw
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: python-devel
BuildRequires: python2-ligo-common
Requires: glue
Requires: python >= 2.7
Requires: python-dateutil
Requires: python-six
Requires: python2-lal
# temporarily commented out to break cyclic dependency. lalburst is an
# optional dependency, but the rpm version at CIT is too old for that
# feature
#Requires: python2-lalburst
Requires: python2-ligo-common
Requires: python2-ligo-segments
Requires: PyYAML
Conflicts: glue-ligolw-tools glue < 1.55
Obsoletes: glue-ligolw-tools
Provides: glue-ligolw-tools
Prefix: %{_prefix}
%description
The LIGO Light-Weight XML format is widely used within gravitational-wave
data analysis pipelines. This package provides a Python library to read,
write, and interact with documents in this format.
%prep
%setup
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 \
--skip-build \
--root=%{buildroot} \
--prefix=%{_prefix}
rm -rf $RPM_BUILD_ROOT/%{_prefix}/lib*/python*/site-packages/ligo/*.*
rm -rf $RPM_BUILD_ROOT/%{_prefix}/lib*/python*/site-packages/*.egg-info
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_prefix}/bin/*
%{_prefix}/lib*/python*/site-packages/ligo/lw
%changelog
* Tue May 8 2018 Kipp Cannon <kipp.cannon@ligo.org>
- Initial release.
Write
Preview
Markdown
is supported
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