re/rpm/re.spec

62 lines
1.1 KiB
RPMSpec
Raw Normal View History

2010-11-03 11:34:14 +00:00
%define name re
2018-11-23 11:05:30 +01:00
%define ver 0.6.0
2014-04-11 16:52:48 +00:00
%define rel 1
2010-11-03 11:34:14 +00:00
Summary: Generic library for real-time communications with async IO support
Name: %name
Version: %ver
Release: %rel
License: BSD
Group: Applications/Devel
Source0: file://%{name}-%{version}.tar.gz
URL: http://www.creytiv.com/
Vendor: Creytiv
Packager: Alfred E. Heggestad <aeh@db.org>
BuildRoot: /var/tmp/%{name}-build-root
%description
Generic library for real-time communications with async IO support
%package devel
Summary: libre development files
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
libre development files.
%prep
%setup
%build
make RELEASE=1
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install \
%ifarch x86_64
LIBDIR=/usr/lib64
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libre*.so*
%files devel
%defattr(644,root,root,755)
%{_includedir}/re/*.h
/usr/share/re/re.mk
%{_libdir}/libre*.a
%changelog
2010-11-15 14:49:43 +00:00
* Fri Nov 5 2010 Alfred E. Heggestad <aeh@db.org> -
2010-11-03 11:34:14 +00:00
- Initial build.