[opensuse-packaging] advice on packaging a static library
All, I'm trying to package guymager and libguytools. They work together and guymager buildrequires the library. libguytools is really just some /usr/include/libguytools/*.h files and a static library. That seems wrong to me, but its the way they have it broke up at sourceforge. I've got a package for libguytools in my home project. (home:gregfreemyer:Tools-for-forensic-boot-cd > libguytools ) Right now, the main libguytools package is empty and I've got 2 sub-packages: %files -n %{name}-devel %defattr(-,root,root,-) %{_includedir}/libguytools2/ %files -n %{name}-devel-static %defattr(-,root,root,-) %{_libdir}/libguytools.a Is this approach acceptable? I seriously doubt there is another user of the libguytools library floating around anywhere. Should I just combine this package with the guymager package somehow? I don't yet have a good guymager package at all. I'm starting with the library. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Mon, 27 Feb 2012, Greg Freemyer wrote:
All,
I'm trying to package guymager and libguytools. They work together and guymager buildrequires the library.
libguytools is really just some /usr/include/libguytools/*.h files and a static library. That seems wrong to me, but its the way they have it broke up at sourceforge.
I've got a package for libguytools in my home project. (home:gregfreemyer:Tools-for-forensic-boot-cd > libguytools )
Right now, the main libguytools package is empty and I've got 2 sub-packages:
%files -n %{name}-devel %defattr(-,root,root,-) %{_includedir}/libguytools2/
%files -n %{name}-devel-static %defattr(-,root,root,-) %{_libdir}/libguytools.a
Is this approach acceptable?
I seriously doubt there is another user of the libguytools library floating around anywhere. Should I just combine this package with the guymager package somehow?
I don't yet have a good guymager package at all. I'm starting with the library.
If there is no shared library it does not make sense to package the
static lib separately, so I'd say it should go into the -devel package.
Richard.
--
Richard Guenther
participants (2)
-
Greg Freemyer
-
Richard Guenther