Name: libixp Version: 0.2 Release: 1%{?dist} Summary: 9P client/server library Group: System Environment/Libraries # some parts are under Lucent Public License License: MIT URL: http://www.suckless.org/wiki/libs Source0: http://libs.suckless.org/download/libixp-%{version}.tar.gz Patch0: libixp-0.2-flags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description libixp is a stand-alone client/server 9P library including ixpc client which behaves like wmiir in the past. It consists of less than 2000 lines of code (including ixpc). %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 %patch0 -p1 sed -i 's/\t@/\t/' Makefile %build export CFLAGS="${RPM_OPT_FLAGS}" export LDFLAGS="${RPM_OPT_FLAGS}" export CC="gcc" make %{?_smp_mflags} PREFIX="%{_prefix}" %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT PREFIX="%{_prefix}" %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE* %{_bindir}/ixpc %{_mandir}/man1/* %files devel %defattr(-,root,root,-) %doc LICENSE* %{_includedir}/* %{_libdir}/*.a %changelog * Wed Feb 28 2007 Till Maas - 0.2-1 - Initial spec for fedora