forked from rudimeier/twsapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
twsapi.spec.in
53 lines (43 loc) · 1.28 KB
/
twsapi.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
#
# spec file for package @PACKAGE@
#
Name: @PACKAGE@
Version: @VERSION@
Release: 1%{?dist}
Summary: C++ API for Interactive Brokers TWS
License: Unknown
Group: Development/Libraries/C and C++
URL: https://github.com/rudimeier/twsapi/
Source: %{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Library for Interactive Brokers API
%package devel
Summary: Headers for developing programs with @PACKAGE@ library
Group: Development/Libraries/C and C++
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
%description devel
This package contains the headers that programmers will need to
develop applications which will use @PACKAGE@ Library.
%prep
%setup -q
%build
%configure --docdir=%{_docdir}/%{name}
make %{?_smp_mflags}
%install
%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
%clean
rm -rf %{buildroot}
%files devel
%defattr(-,root,root,-)
%doc %{_docdir}/%{name}/
%{_libdir}/lib@[email protected]
%{_libdir}/lib@[email protected]
%{_libdir}/lib@[email protected]
%{_libdir}/lib@[email protected]
%{_libdir}/pkgconfig/@[email protected]
%{_libdir}/pkgconfig/@[email protected]
%{_includedir}/@PACKAGE@/