-
Notifications
You must be signed in to change notification settings - Fork 12
/
pstreams-devel.spec
95 lines (69 loc) · 2.83 KB
/
pstreams-devel.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Name: pstreams-devel
Version: 1.0.4
Release: 1%{?dist}
Summary: POSIX Process Control in C++
License: Boost
URL: http://pstreams.sourceforge.net/
Source0: http://downloads.sourceforge.net/pstreams/pstreams-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: doxygen
BuildRequires: perl
BuildRequires: gawk
BuildRequires: hostname
BuildArch: noarch
%description
PStreams classes are like C++ wrappers for the POSIX.2 functions
popen(3) and pclose(3), using C++ iostreams instead of C's stdio
library.
%package -n pstreams-doc
Summary: Documentation for pstreams
%description -n pstreams-doc
API documentation for the pstreams-devel package, in HTML format.
%prep
%setup -q -n pstreams-%{version}
%build
make %{?_smp_mflags} docs
%check
make %{?_smp_mflags} EXTRA_CXXFLAGS="$CXXFLAGS" check
%install
make install DESTDIR=$RPM_BUILD_ROOT includedir=%{_includedir}
%files
%license LICENSE_1_0.txt
%{_includedir}/pstreams
%files -n pstreams-doc
%doc doc/html README AUTHORS ChangeLog
%changelog
* Sat Aug 24 2024 Jonathan Wakely <jwakely@fedoraproject.org> - 1.0.4-1
- Update to version 1.0.4
* Thu Sep 15 2022 Jonathan Wakely <jwakely@redhat.com> - 1.0.3-6
- Fix build by passing build flags in the relevant make variable
- Add pstreams-doc subpackage and separate check phase of build
- Add BuildRequires:hostname to fix tests
* Wed Jun 10 2020 Jonathan Wakely <jwakely@redhat.com> - 1.0.3-1
- Update to version 1.0.3, change license info
- Add BuildRequires: for gcc-c++ and fix BuildRequires: for awk
* Mon Mar 09 2020 Jonathan Wakely <jwakely@redhat.com> - 0.8.1-13
- Add BuildRequires: for perl and awk
* Thu Feb 15 2018 Jonathan Wakely <jwakely@redhat.com> - 0.8.1-8
- Remove unnecessary Group tag and buildroot cleanup
* Tue Jan 26 2016 Jonathan Wakely <jwakely@redhat.com> - 0.8.1-3
- Sync spec file with upstream.
* Tue Jan 05 2016 Jonathan Wakely <jwakely@redhat.com> - 0.8.1-3
- Replace packagename macro and remove BuildRoot tag.
* Sat Aug 16 2014 Pavel Alexeev <Pahan@Hubbitus.info> - 0.8.1-1
- Update to 0.8.1 (bz#1111872)
* Wed May 12 2010 Jonathan Wakely <pstreams@kayari.org> - 0.7.0-1
- Add spec file to upstream repo and update.
* Fri Nov 07 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.6.0-6
- timestamp patch (Till Mass)
* Fri Nov 07 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.6.0-5
- saving timestamp using "install -p"
* Fri Nov 07 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.6.0-4
- included docs, license and other missing files.
* Fri Nov 07 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.6.0-3
- consistent use of macros - replaced %%{buildroot} with $RPM_BUILD_ROOT
* Thu Nov 06 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.6.0-2
- Cleaned up buildrequire
* Tue Nov 04 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.6.0-1
- initial package