rpms/lpf-flash-plugin/devel LICENSE, NONE, 1.1 flash-plugin.spec.in, NONE, 1.1 lpf-flash-plugin.spec, NONE, 1.1

Simone Caronni slaanesh at rpmfusion.org
Thu Jan 9 20:55:00 CET 2014


Author: slaanesh

Update of /cvs/nonfree/rpms/lpf-flash-plugin/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv32152

Added Files:
	LICENSE flash-plugin.spec.in lpf-flash-plugin.spec 
Log Message:
* Mon Dec 16 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.332-1
- Updated to 11.2.202.332.



--- NEW FILE LICENSE ---
THIS SOFTWARE IS PROVIDED 'AS-IS', WITHOUT ANY EXPRESS OR IMPLIED
WARRANTY.  IN NO EVENT WILL THE AUTHORS BE HELD LIABLE FOR ANY DAMAGES
ARISING FROM THE USE OF THIS SOFTWARE.

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely.



--- NEW FILE flash-plugin.spec.in ---
%global         debug_package %{nil}
%global	        __strip /bin/true

Name:           flash-plugin
Version:        11.2.202.332
Release:        1%{?dist}
Epoch:          1
Summary:        Adobe Flash Player
License:        Non-redistributable, no modification permitted
URL:            http://get.adobe.com/flashplayer/
ExclusiveArch:  %{ix86} x86_64

Source0:        http://fpdownload.macromedia.com/get/flashplayer/pdc/%{version}/install_flash_player_11_linux.i386.tar.gz
Source1:        http://fpdownload.macromedia.com/get/flashplayer/pdc/%{version}/install_flash_player_11_linux.x86_64.tar.gz

BuildRequires:  desktop-file-utils
Requires:       mozilla-filesystem

%description
The Adobe Flash Plugin is a freeware Mozilla plugin for viewing multimedia,
executing rich Internet applications, and streaming video and audio, content
created on the Adobe Flash platform.

%package properties
Summary:        Adobe Flash Player preferences
Obsoletes:      %{name}-kde < %{?epoch}:%{version}-%{release}
Provides:       %{name}-kde = %{?epoch}:%{version}-%{release}
Requires:       %{name}%{_isa} = %{?epoch}:%{version}-%{release}
Requires:       hicolor-icon-theme

%description properties
Adobe Flash Player preferences control panel.

%prep
%ifarch %{ix86}
%setup -q -c -n %{name}
%endif

%ifarch x86_64
%setup -q -c -T -b 1 -n %{name}
%endif

%build
# Nothing to build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}
cp -afr ./%{_datadir}/{icons,applications} %{buildroot}%{_datadir}/

install -p -m 0755 -D .%{_bindir}/flash-player-properties \
    %{buildroot}%{_bindir}/flash-player-properties
install -p -m 0755 -D libflashplayer.so \
    %{buildroot}%{_libdir}/mozilla/plugins/libflashplayer.so

desktop-file-validate %{buildroot}%{_datadir}/applications/flash-player-properties.desktop

%post properties
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun properties
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans properties
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%files
%doc readme.txt
%{_libdir}/mozilla/plugins/libflashplayer.so

%files properties
%{_bindir}/flash-player-properties
%{_datadir}/applications/flash-player-properties.desktop
%{_datadir}/icons/hicolor/*/apps/flash-player-properties.png

%changelog
* Sat Dec 14 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.332-1
- Updated to 11.2.202.332.

* Tue Nov 26 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.327-2
- Review fixes.
- Split flash-plugin-properties package so on x86_64 system there are no 32 bit
  commands.
- Remove kde control center integration (really useless).

* Wed Nov 20 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.327-1
- Updated to 11.2.202.327.

* Tue Sep 24 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.310-1
- Update to 11.2.202.310.

* Mon Jul 15 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.297-1
- Update to 11.2.202.297.

* Wed Jun 26 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.291-1
- Updated to 11.2.202.291.

* Tue May 21 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.285-1
- Updated to 11.2.202.285.

* Mon May 13 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.280-1
- First build.
- Bump epoch to override Adobe official plugin package.


--- NEW FILE lpf-flash-plugin.spec ---
# Binary package, no debuginfo should be generated
%global         debug_package %{nil}

# %%global will not work here, lazy evaluation needed.
%define         target_pkg %(t=%{name}; echo ${t#lpf-})

Name:           lpf-flash-plugin
Version:        11.2.202.332
Release:        1%{?dist}
Epoch:          1
Summary:        Adobe Flash Player package bootstrap

License:        MIT
URL:            http://github.com/leamas/lpf
Group:          Development/Tools
ExclusiveArch:  %{ix86} x86_64

Source0:        flash-plugin.spec.in
Source1:        README
Source2:        LICENSE

BuildRequires:  desktop-file-utils
BuildRequires:  lpf
Requires:       lpf

%description
Bootstrap package allowing the lpf system to build the non-redistributable
flash-plugin package.

The flash-plugin package is available only for i686 and x86_64 systems.

%prep
%setup -cT
cp %{SOURCE1} README
cp %{SOURCE2} LICENSE


%build


%install
# lpf-setup-pkg [-a arch] [-e eula] <topdir> <specfile> [sources...]
/usr/share/lpf/scripts/lpf-setup-pkg %{buildroot} %{SOURCE0}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop


%post
DISPLAY= lpf scan 2>/dev/null || :

%postun
if [ "$1" = '0' ]; then
    /usr/share/lpf/scripts/lpf-pkg-postun %{target_pkg} &>/dev/null || :
fi

%triggerpostun -- %{target_pkg}
if [ "$2" = '0' ]; then
    lpf scan-removal %{target_pkg} &>/dev/null || :
fi


%files
%doc README LICENSE
/usr/share/applications/%{name}.desktop
/usr/share/lpf/packages/%{target_pkg}
%attr(775,pkg-build,pkg-build) /var/lib/lpf/packages/%{target_pkg}
%attr(664,pkg-build,pkg-build) /var/lib/lpf/packages/%{target_pkg}/state


%changelog
* Mon Dec 16 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.332-1
- Updated to 11.2.202.332.

* Wed Nov 27 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.327-4
- Updated postun and triggerpostun sections as per latest specifications.

* Tue Nov 26 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.327-3
- Add triggerpostun section, update description.
- Updated lpf-flash-plugin.spec.in.

* Mon Nov 25 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.327-2
- Updated install, post and postun sections for the latest additions.

* Thu Nov 21 2013 Simone Caronni <negativo17 at gmail.com> - 1:11.2.202.327-1
- First build.


More information about the rpmfusion-commits mailing list