Bug 849065 - Please consider splitting libraries in a separate package
Summary: Please consider splitting libraries in a separate package
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ImageMagick
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Alexeev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 868230 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-17 08:36 UTC by Remi Collet
Modified: 2013-03-17 18:42 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-17 18:42:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Remi Collet 2012-08-17 08:36:03 UTC
ImageMagick provides both tools (command line utilities) and libraries in the same package.

I think it could be valuable to split this in :
ImageMagick => tools
ImageMagick-libs => runtime library


I think, this should work :

%files
%{_bindir}/[a-z]*
%{_mandir}/man[145]/[a-z]*
%{_mandir}/man1/%{name}.*

%files libs
%doc ChangeLog
%doc README.txt LICENSE NOTICE AUTHORS.txt NEWS.txt
%{_libdir}/libMagickCore.so.5*
%{_libdir}/libMagickWand.so.5*
%{_libdir}/ImageMagick-%{VER}
%{_datadir}/ImageMagick-%{VER}
%exclude %{_libdir}/ImageMagick-%{VER}/modules-Q16/coders/djvu.*
%{_sysconfdir}/%{name}

Comment 1 Pavel Alexeev 2012-08-26 15:44:46 UTC
Sorry, but for what? What advantages you are seeing in that?

Comment 2 Remi Collet 2012-08-26 16:11:59 UTC
Mainly allow to install only libs, for package which use it.
And tools when user wants it.

And this seems a common packaging usage.

This also make things easier for people who want to install multiple version of the library (even is this is not a target for fedora repo)

Comment 3 Pavel Alexeev 2012-09-02 19:38:21 UTC
As it may interfere with dependent packages I think it should be announced in ML.
I'll do that later, until you may check scratch build - http://koji.fedoraproject.org/koji/taskinfo?taskID=4446298

Also may be have worth combine c++ subpackage into libs? How you think?

Comment 4 Pavel Alexeev 2012-10-21 17:05:05 UTC
*** Bug 868230 has been marked as a duplicate of this bug. ***

Comment 5 Remi Collet 2012-10-21 17:39:33 UTC
Sorry, it seems I have miss the previous bugzilla notification.

IMHO, having C++ in an independant sub-package make sense.

Your scratch build is a bad link (ferm package).
Can you run another, or simply the spec diff ?

Comment 6 Pavel Alexeev 2012-11-11 10:12:59 UTC
Remi, I'm very sorry for the mistake. Please check that: http://koji.fedoraproject.org/koji/taskinfo?taskID=4676821

Comment 7 Remi Collet 2012-11-12 16:21:41 UTC
Seems fine.

Thanks for the work on this.

Comment 8 Xavier Hourcade 2013-01-18 15:27:24 UTC
Looking forward to the split too, thanks (loading karma...)

Comment 9 Pavel Alexeev 2013-03-17 18:42:01 UTC
Ready http://koji.fedoraproject.org/koji/taskinfo?taskID=5132168


Note You need to log in before you can comment on or make changes to this bug.