Name: libmxp Version: 0.2.2 Release: 3%{?dist} Summary: MUD eXtension protocol library Group: System Environment/Libraries License: LGPLv2+ URL: http://www.kmuddy.com/libmxp/ Source0: http://www.kmuddy.com/libmxp/files/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: #Requires: %description The MXP library implements the parser for the MUD eXtension protocol. %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 %build %configure --disable-static make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -f {} ';' %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING COPYING.LIB README AUTHORS ChangeLog NEWS %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %changelog * Wed Sep 23 2009 Ryan Rix < phrkonaleash [AT] gmail dot com > - 0.2.2-3 - fixed changelog and license * Tue Sep 22 2009 Ryan Rix < phrkonaleash [AT] gmail dot com > - 0.2.2-2 - added documentation * Tue Sep 22 2009 Ryan Rix < phrkonaleash [AT] gmail dot com > - 0.2.2-1 - initial package