Hi sling-shot,
the spec looks ok, except the naming.
The convention for libraries is to use the %mklibname macro for generating the name to get correct lib64 packages on 64bit.
further more if you have a library package it is suggested to run ldconfig on package install or uninstall.
to avoid editing the files section when a api update appears we usually define a major macro and use this for the library name in the files section of the normal lib package.
my suggestion for the spec:
%define libname %mklibname unibreak
%define libdevname %mklibname unibreak -d
%define major 1
Name: libunibreak
Version: 1.0
Release: %mkrel 1
Summary: An implementation of the line breaking and word breaking algorithms
License: zlib/libpng licence
Group: System/Libraries
URL: http://vimgadgets.sourceforge.net/libunibreak/
Source: %{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
libunibreak, an implementation of the line
breaking and word breaking algorithms as described in Unicode
Standard Annex 14 and Unicode Standard Annex 29, available at
<URL:http://www.unicode.org/reports/tr14/tr14-26.html>
<URL:http://www.unicode.org/reports/tr29/tr29-17.html>
Check this URL for up-to-date information:
<URL:http://vimgadgets.sourceforge.net/libunibreak/>
%package -n %{libname}
Summary: An implementation of the line breaking and word breaking algorithms
Group: System/Libraries
%description -n %{libname}
libunibreak, an implementation of the line
breaking and word breaking algorithms as described in Unicode
Standard Annex 14 and Unicode Standard Annex 29, available at
<URL:http://www.unicode.org/reports/tr14/tr14-26.html>
<URL:http://www.unicode.org/reports/tr29/tr29-17.html>
Check this URL for up-to-date information:
<URL:http://vimgadgets.sourceforge.net/libunibreak/>
%package -n %{libdevname}
Summary: Devel package of %{name}
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
%description -n %{libdevname}
Devel package of %{name}
%prep
%setup -q
%build
%configure2_5x --disable-static
%make
%install
rm -rf %buildroot
%makeinstall
%post -n %{libname}
/sbin/ldconfig
%postun -n %{libname}
/sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n %{libname}
%defattr(-,root,root)
%doc AUTHORS ChangeLog LICENCE README
%{_libdir}/libunibreak.so.%{major}*
%files -n %{libdevname}
%defattr(-,root,root)
%exclude %{_libdir}/liblinebreak.a
%exclude %{_libdir}/libunibreak.la
%{_includedir}/*break*.h
%{_libdir}/libunibreak.so
%{_libdir}/pkgconfig/libunibreak.pc
%changelog
* Tue Mar 05 2013 Sling Shot <sling-shot at lycos.com>
- Initial package at 1.0
regads
ghostbunny