[go: up one dir, main page]

File: DrIFT.spec.in

package info (click to toggle)
drift 2.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 988 kB
  • ctags: 104
  • sloc: haskell: 3,059; sh: 753; makefile: 100
file content (48 lines) | stat: -rw-r--r-- 1,267 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
43
44
45
46
47
48

%define version @VERSION@
%define release 1
%define prefix /usr
%define progname DrIFT

Summary: DeRiving Instances From Types
Name: DrIFT
Version: %{version}
Release: %{release}
License: LICENSE
Group: Applications/Development
BuildRoot: /var/tmp/%{progname}-%{version}-%{release}-buildroot
Source: http://repetae.net/john/computer/haskell/%{progname}/drop/%{progname}-%{version}.tar.gz
URL: http://repetae.net/john/computer/haskell/%{progname}/
Packager: John Meacham <john@repetae.net>
Prefix: %{prefix}

%description
This package contains a source distribution of DrIFT, a tool for automatic derivation of Haskell class instances. DrIFT was formerly known as Derive.

%prep
%setup

%build
./configure --prefix %{prefix}
make
make docs

%clean
#rm -rf $RPM_BUILD_ROOT

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install
rm -f $RPM_BUILD_ROOT%{prefix}/info/dir
rm -f $RPM_BUILD_ROOT%{prefix}/lib/debug/usr/bin/DrIFT.debug


%files
%attr(-, root, root) %doc Changelog
%attr(-, root, root) %doc LICENSE
%attr(-, root, root) %doc docs/drift.ps
%attr(-, root, root) %doc docs/drift.html
%attr(-, root, root) %{prefix}/bin/DrIFT
%attr(-, root, root) %{prefix}/bin/drift-ghc
#%attr(-, root, root) %{prefix}/info/dir
%attr(-, root, root) %{prefix}/info/drift.info.gz