File: fitscut.spec

package info (click to toggle)
fitscut 1.4.4-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 924 kB
  • ctags: 465
  • sloc: ansic: 6,024; sh: 767; makefile: 132
file content (42 lines) | stat: -rw-r--r-- 723 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Summary: A tool for making cutouts and color images from FITS files
Name: fitscut
Version: 1.4.4
Release: 1
License: GPL
Group: Applications/Multimedia
Source: fitscut-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq: libjpeg-devel, libpng-devel, cfitsio-devel

%description 

%prep
%setup -q

%build
%configure

make \
	CC=%{__cc} \
	CFLAGS="$RPM_OPT_FLAGS"

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT
make

mkdir -p $RPM_BUILD_ROOT%{_bindir}

%makeinstall

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/*

%changelog
* Tue May 11 2004 William Jon McCann <mccann@jhu.edu>
- Initial version