Skip to content

Commit

Permalink
Re #1. First version of spec file that works.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Aug 19, 2013
1 parent 9090974 commit 5d280a1
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions finddata.spec
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
Name:
Version:
Name: finddata
Version: 0.1.0
Release: 1%{?dist}
Summary:
Summary: Find data files using ICAT

Group:
License:
URL:
Source0:
License: The MIT License (MIT)
URL: http://github.com/peterfpeterson/finddata/
Source: %{name}.tar.gz
BuildArch: noarch

BuildRequires:
Requires:
Requires: python
Requires: bash
Requires: bash-completion

%description

This package uses ICAT4 at SNS to find NeXus files.

%prep
%setup -q

%setup -n %{name}

%build
%configure
make %{?_smp_mflags}

exit 0

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

mkdir -p %{buildroot}%{_bindir}
install -m 755 %{_builddir}/%{name}/usr/bin/finddata %{buildroot}%{_bindir}/finddata
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
install -m 644 %{_builddir}/%{name}/etc/bash_completion.d/finddata.bashcomplete %{buildroot}%{_sysconfdir}/bash_completion.d/finddata.bashcomplete

%clean
rm -rf $RPM_BUILD_ROOT

exit 0

%files
%defattr(-,root,root,-)
%doc


%doc README.md
%doc LICENSE.txt
%{_bindir}/finddata
%{_sysconfdir}/bash_completion.d/finddata.bashcomplete

%changelog

0 comments on commit 5d280a1

Please sign in to comment.