+%package -n lib%{name}
+Summary: Zebra libraries
+Group: Libraries
+Requires: libyaz3 bzip2-libs
+%description -n lib%{name}
+Libraries for the Zebra search engine.
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%package -n lib%{name}-modules
+Summary: Zebra modules
+Group: Libraries
+Requires: lib%{name} = %{version} expat tcl
+%description -n lib%{name}-modules
+Modules for the Zebra search engine.
+
+%package -n lib%{name}-devel
+Summary: Zebra development libraries
+Group: Development/Libraries
+Requires: lib%{name} = %{version} libyaz3-devel bzip2-devel
+%description -n lib%{name}-devel
+Development libraries for the Zebra search engine.
+