Non-redistributable packages: Skype, spotify, ...

Simone Caronni negativo17 at gmail.com
Tue Nov 19 08:56:18 CET 2013


Some details on the Adobe provided package:

$ rpm -qpl flash-plugin-11.2.202.327-release.x86_64.rpm
/usr/bin/flash-player-properties
/usr/lib64/flash-plugin
/usr/lib64/flash-plugin/LICENSE
/usr/lib64/flash-plugin/README
/usr/lib64/flash-plugin/homecleanup
/usr/lib64/flash-plugin/libflashplayer.so
/usr/lib64/flash-plugin/setup
/usr/lib64/kde4/kcm_adobe_flash_player.so
/usr/share/applications/flash-player-properties.desktop
/usr/share/doc/flash-plugin-11.2.202.327
/usr/share/doc/flash-plugin-11.2.202.327/readme.txt
/usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
/usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
/usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
/usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
/usr/share/kde4/services/kcm_adobe_flash_player.desktop

$ rpm -qp --requires flash-plugin-11.2.202.327-release.x86_64.rpm
glibc >= 2.4
/bin/sh
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1

$ rpm -qp --scripts flash-plugin-11.2.202.327-release.x86_64.rpm
postinstall scriptlet (using /bin/sh):
if [ "$1" = "1" ]; then
    /usr/lib64/flash-plugin/setup 64 install
fi
if [ "$1" = "2" ]; then
    /usr/lib64/flash-plugin/setup 64 upgrade
fi

ln -f -s /usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
/usr/share/pixmaps/
preuninstall scriptlet (using /bin/sh):
if [ "$1" = "0" ]; then
    /usr/lib64/flash-plugin/setup 64 preun
fi
postuninstall scriptlet (using /bin/sh):
rm -f /usr/share/pixmaps/flash-player-properties.png

Some details from my package (and RHEL as well):

$ rpm -q --scripts flash-plugin
postinstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor &>/dev/null || :
postuninstall scriptlet (using /bin/sh):
if [ $1 -eq 0 ] ; then
    touch --no-create /usr/share/icons/hicolor &>/dev/null
    gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :
fi
posttrans scriptlet (using /bin/sh):
gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :
postinstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor &>/dev/null || :
postuninstall scriptlet (using /bin/sh):
if [ $1 -eq 0 ] ; then
    touch --no-create /usr/share/icons/hicolor &>/dev/null
    gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :
fi
posttrans scriptlet (using /bin/sh):
gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :

$ sudo yum list flash-plugin\*
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
flash-plugin.i686              1:11.2.202.310-1.fc19
@fedora-flash-plugin
flash-plugin.x86_64            1:11.2.202.310-1.fc19
@fedora-flash-plugin
Available Packages
flash-plugin-kde.i686          1:11.2.202.310-1.fc19
fedora-flash-plugin
flash-plugin-kde.x86_64        1:11.2.202.310-1.fc19
fedora-flash-plugin

Regards,
--Simone





On 19 November 2013 08:54, Simone Caronni <negativo17 at gmail.com> wrote:

> On 18 November 2013 22:15, Nicolas Chauvet <kwizart at gmail.com> wrote:
>
>> Is it possible to only handle the adobe-release* repositories instead ?
>> Unless all thoses adobe packages are really broken ?
>>
>
> The flash plugin packages are really broken indeed. They ship a package
> that is for all rpm based distributions, install in weird locations and do
> everything with a setup that is run in the %post sections along with ln and
> rm commands. Dependencies are missing and installs kde integration also on
> gnome. Since dependencies are broken if you remove it you will have loose
> directories all over.
>
> If you have Redhat account, you can see that Redhat has a repackaged
> version in the "Supplementary" channel of the base RHEL releases.
>
> I've been mantaining the flash-plugin for quite few years now for personal
> use and for the various companies I've worked for, so Alec/Sergio, if you
> are interested I can lend some help. The resulting package is 90% close to
> the RHEL one for which there is no spec file available.
>
> The i686 bit package should also be in the x86_64 repository as Steam
> requires the Flash plugin for playing videos in the game detail pages. I've
> been doing this in my repository.
>
> http://negativo17.org/adobe-flash-plugin/
> http://negativo17.org/repos/flash-plugin/flash-plugin.spec
>
> Regards,
> --Simone
>
>
> --
> You cannot discover new oceans unless you have the courage to lose sight
> of the shore (R. W. Emerson).
>
> http://xkcd.com/229/
> http://negativo17.org/
>



-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.rpmfusion.org/pipermail/rpmfusion-developers/attachments/20131119/3dd01a4e/attachment.html>


More information about the rpmfusion-developers mailing list