From 3710e6789e6c309c49f41896051d422ec9e8aab5 Mon Sep 17 00:00:00 2001 From: Rosa Date: Mon, 3 Feb 2014 13:07:09 +0400 Subject: [PATCH] Automatic import for version 5.2.1-1 --- .abf.yml | 2 ++ altconf.txt | 2 ++ peazip.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 .abf.yml create mode 100644 altconf.txt create mode 100644 peazip.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..0d673cf --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + "peazip-5.2.1.src.zip": 358d4e62869a7568be90571457050f7b46aff0b3 diff --git a/altconf.txt b/altconf.txt new file mode 100644 index 0000000..e3df738 --- /dev/null +++ b/altconf.txt @@ -0,0 +1,2 @@ +[alternative configuration's path: specify a location for bookmarks.txt, conf.txt and rnd (either absolute or relative path, use " and ' if needed); write "same" to use this path, "appdata" to use user's application data or home path] +appdata diff --git a/peazip.spec b/peazip.spec new file mode 100644 index 0000000..22961d1 --- /dev/null +++ b/peazip.spec @@ -0,0 +1,74 @@ +%define debug_package %{nil} + +Summary: File and archive manager +Name: peazip +Version: 5.2.1 +Release: 1 +License: LGPLv3+ +Group: File tools +Url: http://peazip.sourceforge.net/peazip-linux.html +Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.src.zip +# configure to run in users home appdata +Source1: altconf.txt +BuildRequires: icoutils +BuildRequires: lazarus >= 1.0.8 +BuildRequires: pkgconfig(gtk+-2.0) +Requires: p7zip +Requires: upx >= 3.09 + +%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... + +%files +%doc readme copying.txt +%{_bindir}/* +%{_datadir}/icons/hicolor/*/apps/*.png +%{_datadir}/applications/*.desktop +%{_libdir}/%{name} + +#---------------------------------------------------------------------------- + +%prep +%setup -q -n %{name}-%{version}.src +chmod +w res/lang + +%build +lazbuild -B project_peach.lpi project_pea.lpi project_gwrap.lpi + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_libdir}/%{name} +rm -rf res/icons +cp -r res %{buildroot}%{_libdir}/%{name} +cp %{SOURCE1} %{buildroot}%{_libdir}/%{name}/res + +#install helper apps +mkdir -p %{buildroot}%{_libdir}/%{name}/res/{7z,upx} +ln -s %{_bindir}/7z %{buildroot}%{_libdir}/%{name}/res/7z +ln -s %{_bindir}/upx %{buildroot}%{_libdir}/%{name}/res/upx + +install pea %{buildroot}%{_libdir}/%{name}/res +ln -s %{_libdir}/%{name}/res/pea %{buildroot}%{_bindir}/pea +install %{name} %{buildroot}%{_libdir}/%{name} +ln -s %{_libdir}/%{name}/%{name} %{buildroot}%{_bindir}/%{name} +install pealauncher %{buildroot}%{_libdir}/%{name}/res +ln -s %{_libdir}/%{name}/res/pealauncher %{buildroot}%{_bindir}/pealauncher + +mkdir -p %{buildroot}%{_datadir}/applications +cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <