forked from INFERLab/gridlab-d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gridlabd.spec.in
75 lines (60 loc) · 2.23 KB
/
gridlabd.spec.in
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
71
72
73
74
Summary: GridLAB-D power distribution system simulation and analysis tool.
Name: gridlabd
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
License: Unknown
Group: Simulators
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: xerces-c-devel >= 2.7
Requires: xerces-c >= 2.7
Packager: GridLAB-D Team <[email protected]>
URL: http://www.gridlabd.org
Source0: %{name}_%{version}.tar.gz
%description
GridLAB-D™ is a new power distribution system simulation and analysis tool
that provides valuable information to users who design and operate
distribution systems, and to utilities that wish to take advantage of the
latest energy technologies. It incorporates the most advanced modeling
techniques, with high-performance algorithms to deliver the best in end-use
modeling. GridLAB-D™ is coupled with distribution automation models and
software integration tools for users of many power system analysis tools.
GridLAB-D™ was developed by the U.S. Department of Energy (DOE) at Pacific
Northwest National Laboratory (PNNL), in collaboration with industry and
academia.
%prep
%setup -q -n %{name}_%{version}
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%makeinstall
rm -f %{buildroot}%{_libdir}/gridlabd/*.la
%clean
rm -rf %{buildroot}
%post
%postun
%files
%defattr(-,root,root,-)
%{_bindir}/gridlabd
%{_libdir}/gridlabd/*
%doc %{_docdir}/gridlabd/*
/usr/bin/gridlabd.bin
%{_datadir}/gridlabd/*
%package devel
Summary: Development files for GridLAB-D.
Group: Simulators
%description devel
GridLAB-D™ is a new power distribution system simulation and analysis tool
that provides valuable information to users who design and operate
distribution systems, and to utilities that wish to take advantage of the
latest energy technologies. It incorporates the most advanced modeling
techniques, with high-performance algorithms to deliver the best in end-use
modeling. GridLAB-D™ is coupled with distribution automation models and
software integration tools for users of many power system analysis tools.
GridLAB-D™ was developed by the U.S. Department of Energy (DOE) at Pacific
Northwest National Laboratory (PNNL), in collaboration with industry and
academia.
%files devel
%defattr(-,root,root,-)
%{_includedir}/gridlabd/*.h