-
Notifications
You must be signed in to change notification settings - Fork 0
/
epanet.spec
70 lines (59 loc) · 1.85 KB
/
epanet.spec
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# spec file for package epanet
#
# Copyright (c) 2013 Steffen Macke <sdteffen@gmail.com>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Name: epanet
Version: 2.0.12.2
Release: 1
Vendor: epanet.de
License: GPL
Summary: Model water distribution piping systems
Group: Productivity/Other
Packager: Steffen Macke <sdteffen@sdteffen.de>
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.xz
Url: http://epanet.de
BuildRequires: glibc-devel
%description
EPANET models water distribution piping systems (hydraulic analysis).
The popular EPANET hydraulic modelling package.
%package -n epanet-devel
Summary: EPANET Toolkit
Group: Development/Libraries/C and C++
%description -n epanet-devel
EPANET models water distribution piping systems (hydraulic analysis).
The popular EPANET hydraulic modelling package.
%prep
%setup
%build
./configure --prefix=/usr --libdir=%_libdir
make
%install
rm -rf %{buildroot}
%makeinstall
%clean
rm -rf %{buildroot}
%files -n epanet
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%_bindir/epanet2
%files -n epanet-devel
%defattr(-, root, root)
%_includedir/toolkit.h
%_libdir/libepanet2.a
%_libdir/libepanet2.la
%_libdir/libepanet2.so
%_libdir/libepanet2.so.0
%_libdir/libepanet2.so.0.0.0
%changelog
* Sun Dec 15 2013 - Steffen Macke <sdteffen@sdteffen.de>
- Initial RPM build for version 2.0.12