blob: cc91773ebd3b46ce7747f86a30eb818c6efc65f1 [file] [log] [blame]
James Kuszmaul82f6c042021-01-17 11:30:16 -08001%define name re
2%define ver 0.6.0
3%define rel 1
4
5Summary: Generic library for real-time communications with async IO support
6Name: %name
7Version: %ver
8Release: %rel
9License: BSD
10Group: Applications/Devel
11Source0: file://%{name}-%{version}.tar.gz
12URL: http://www.creytiv.com/
13Vendor: Creytiv
14Packager: Alfred E. Heggestad <aeh@db.org>
15BuildRoot: /var/tmp/%{name}-build-root
16
17%description
18Generic library for real-time communications with async IO support
19
20%package devel
21Summary: libre development files
22Group: Development/Libraries
23Requires: %{name} = %{version}
24
25%description devel
26libre development files.
27
28%prep
29%setup
30
31%build
32make RELEASE=1
33
34%install
35rm -rf $RPM_BUILD_ROOT
36make DESTDIR=$RPM_BUILD_ROOT install \
37%ifarch x86_64
38 LIBDIR=/usr/lib64
39%endif
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%post -p /sbin/ldconfig
45%postun -p /sbin/ldconfig
46
47%files
48%defattr(644,root,root,755)
49%attr(755,root,root) %{_libdir}/libre*.so*
50
51%files devel
52%defattr(644,root,root,755)
53%{_includedir}/re/*.h
54/usr/share/re/re.mk
55%{_libdir}/libre*.a
56%{_libdir}/pkgconfig/libre.pc
57
58%changelog
59* Fri Nov 5 2010 Alfred E. Heggestad <aeh@db.org> -
60- Initial build.