-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgzstream.spec
69 lines (46 loc) · 1.37 KB
/
gzstream.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
Name: gzstream
Version: 1.5
Release: 1%{?dist}
Summary: zlib functions in C++ iostream
Group: System Environment/Libraries
License: LGPLv2.1+
URL: http://www.cs.unc.edu/Research/compgeom/%{name}/
Source0: http://www.cs.unc.edu/Research/compgeom/%{name}/%{name}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
%description
Gzstream is a small C++ library, basically just a wrapper, that
provides the functionality of the zlib C-library in a C++ iostream.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n gzstream
%build
make default %{?_smp_mflags} CPPFLAGS="%{optflags}" -I.
%install
rm -rf %{buildroot}
#make install DESTDIR=%{buildroot}
#find %{buildroot} -name '*.la' -exec rm -f {} ';'
%check
make test
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%doc
%{_includedir}/*
%{_libdir}/*.so
%changelog
* Thu Jun 30 2011 Adam Huffman <[email protected]> - 1.5-1
- initial version