commit 5a905fe2f2e7ae9b1e268fd8e780f61cb3cdd047
Author: Jakub Bogusz <[email protected]>
Date:   Sat May 25 09:31:01 2024 +0200

    - new

 poke-elf-info.patch | 14 +++++++++++++
 poke-elf.spec       | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)
---
diff --git a/poke-elf.spec b/poke-elf.spec
new file mode 100644
index 0000000..ab993aa
--- /dev/null
+++ b/poke-elf.spec
@@ -0,0 +1,60 @@
+Summary:       GNU poke support for editing ELF files
+Summary(pl.UTF-8):     Obsługa edycji plików ELF dla GNU poke
+Name:          poke-elf
+Version:       1.0
+Release:       1
+License:       GPL v3+
+Group:         Applications/Editors
+Source0:       https://ftp.gnu.org/gnu/poke/%{name}-%{version}.tar.gz
+# Source0-md5: 74dead66563d781c035a491b3d2e40f2
+Patch0:                %{name}-info.patch
+URL:           http://www.jemarch.net/poke
+BuildRequires: automake
+BuildRequires: poke >= 4.0
+BuildRequires: sed >= 4.0
+BuildRequires: texinfo
+Requires:      poke >= 4.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+poke-elf is a full-fledged GNU poke pickle for editing ELF object
+files, executables, shared libraries and core dumps.  It supports many
+architectures and extensions.
+
+%description -l pl.UTF-8
+poke-elf to w pełni przygotowany zbiór reguł GNU poke do edycji plików
+ELF, w tym obiektów, plików wykonywalnych, bibliotek współdzielonych i
+zrzutów pamięci. Obsługuje wiele architektur i rozszerzeń.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%{__sed} -i -e '1s,/usr/bin/env sh,/bin/sh,' examples/prelinkr
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_bindir}/prelinkr
+%{_datadir}/poke/pickles/elf*.pk
+%{_infodir}/poke-elf.info*
diff --git a/poke-elf-info.patch b/poke-elf-info.patch
new file mode 100644
index 0000000..e4fb59f
--- /dev/null
+++ b/poke-elf-info.patch
@@ -0,0 +1,14 @@
+--- poke-elf-1.0/poke-elf.texi.orig    2024-03-30 19:50:52.000000000 +0100
++++ poke-elf-1.0/poke-elf.texi 2024-05-25 09:27:15.714668580 +0200
+@@ -18,9 +18,9 @@ later version.
+ @end quotation
+ @end copying
+ 
+-@dircategory GNU poke
++@dircategory File utilities:
+ @direntry
+-* poke-elf: (poke-elf). ELF pickles for GNU poke.
++* poke-elf: (poke-elf).                       ELF pickles for GNU poke
+ @end direntry
+ 
+ @titlepage
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poke-elf.git/commitdiff/5a905fe2f2e7ae9b1e268fd8e780f61cb3cdd047

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to