Mageia Bugzilla – Attachment 3674 Details for
Bug 1636
peaZip, an Open Source file and archive manager: flexible, portable, secure, and free as in freedom
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
spec file, that includes pealauncher as well
peazip.spec (text/x-rpm-spec), 2.22 KB, created by
Glen Ogilvie
on 2013-03-30 11:51:23 CET
(
hide
)
Description:
spec file, that includes pealauncher as well
Filename:
MIME Type:
Creator:
Glen Ogilvie
Created:
2013-03-30 11:51:23 CET
Size:
2.22 KB
patch
obsolete
>%define debug_package %{nil} > >%define name peazip >%define version 4.9.1 >%define release %mkrel 2 > >Summary: File and archive manager >Name: %{name} >Version: %{version} >Release: %{release} >Source0: http://sourceforge.net/projects/%{name}/files/%{version}/%{name}-%{version}.src.zip ># configure to run in users home appdata >Source1: altconf.txt ># Patch0: peazip-64bit.patch >Patch0: glen.patch >License: LGPLv3 >Group: File tools >Url: http://www.peazip.org/ >BuildRequires: lazarus >BuildRequires: qt4-devel >BuildRequires: imagemagick >BuildRequires: desktop-file-utils >Requires: p7zip, upx > >%description >PeaZip is a free cross-platform file archiver that provides an unified >portable GUI for many Open Source technologies like 7-Zip, FreeArc, PAQ, >UPX... > >%prep >%setup -q -n %{name}-%{version}.src >%patch0 -p1 >chmod +w res/lang > >%build >lazbuild -B project_peach.lpi >lazbuild -B project_gwrap.lpi > >%install >mkdir -p %{buildroot}%{_bindir} >mkdir -p %{buildroot}%{_datadir}/peazip >%{__cp} -r res %{buildroot}%{_datadir}/peazip >%{__cp} %{SOURCE1} %{buildroot}%{_datadir}/peazip/res > >#install helper apps >mkdir -p %{buildroot}%{_datadir}/peazip/res/7z >mkdir -p %{buildroot}%{_datadir}/peazip/res/upx >ln -s ../../../../..%{_bindir}/7z %{buildroot}%{_datadir}/peazip/res/7z >ln -s ../../../../..%{_bindir}/upx %{buildroot}%{_datadir}/peazip/res/upx > >install peazip %{buildroot}%{_datadir}/peazip >install pealauncher %{buildroot}%{_datadir}/peazip/res >ln -s ../..%{_datadir}/peazip/peazip %{buildroot}%{_bindir}/peazip > > >mkdir -p %{buildroot}%{_datadir}/applications >desktop-file-install --dir %{buildroot}%{_datadir}/applications \ > FreeDesktop_integration/peazip.desktop ># move and convert peazip icon >mkdir -p %{buildroot}%{_datadir}/icons/hicolor/{16x16,32x32,48x48}/apps >convert %{name}.ico %{name}.png ># The .ico file in 4.8 seens to have multiple files inside >%{__cp} %{name}-1.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png >%{__cp} %{name}-2.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png >%{__cp} %{name}-4.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png > > >%files >%doc readme copying.txt >%{_bindir}/peazip >%{_datadir}/icons/hicolor/*/apps/*.png >%{_datadir}/applications/*.desktop >%{_datadir}/peazip >
%define debug_package %{nil} %define name peazip %define version 4.9.1 %define release %mkrel 2 Summary: File and archive manager Name: %{name} Version: %{version} Release: %{release} Source0: http://sourceforge.net/projects/%{name}/files/%{version}/%{name}-%{version}.src.zip # configure to run in users home appdata Source1: altconf.txt # Patch0: peazip-64bit.patch Patch0: glen.patch License: LGPLv3 Group: File tools Url: http://www.peazip.org/ BuildRequires: lazarus BuildRequires: qt4-devel BuildRequires: imagemagick BuildRequires: desktop-file-utils Requires: p7zip, upx %description PeaZip is a free cross-platform file archiver that provides an unified portable GUI for many Open Source technologies like 7-Zip, FreeArc, PAQ, UPX... %prep %setup -q -n %{name}-%{version}.src %patch0 -p1 chmod +w res/lang %build lazbuild -B project_peach.lpi lazbuild -B project_gwrap.lpi %install mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_datadir}/peazip %{__cp} -r res %{buildroot}%{_datadir}/peazip %{__cp} %{SOURCE1} %{buildroot}%{_datadir}/peazip/res #install helper apps mkdir -p %{buildroot}%{_datadir}/peazip/res/7z mkdir -p %{buildroot}%{_datadir}/peazip/res/upx ln -s ../../../../..%{_bindir}/7z %{buildroot}%{_datadir}/peazip/res/7z ln -s ../../../../..%{_bindir}/upx %{buildroot}%{_datadir}/peazip/res/upx install peazip %{buildroot}%{_datadir}/peazip install pealauncher %{buildroot}%{_datadir}/peazip/res ln -s ../..%{_datadir}/peazip/peazip %{buildroot}%{_bindir}/peazip mkdir -p %{buildroot}%{_datadir}/applications desktop-file-install --dir %{buildroot}%{_datadir}/applications \ FreeDesktop_integration/peazip.desktop # move and convert peazip icon mkdir -p %{buildroot}%{_datadir}/icons/hicolor/{16x16,32x32,48x48}/apps convert %{name}.ico %{name}.png # The .ico file in 4.8 seens to have multiple files inside %{__cp} %{name}-1.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{__cp} %{name}-2.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png %{__cp} %{name}-4.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png %files %doc readme copying.txt %{_bindir}/peazip %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/applications/*.desktop %{_datadir}/peazip
View Attachment As Raw
Actions:
View
Attachments on
bug 1636
:
3671
| 3674