[packages/elfio] - initial
arekm
arekm at pld-linux.org
Thu May 2 12:27:11 CEST 2013
commit ec92a51982c97f26c6b42526e1580ab0a8297657
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 2 12:26:59 2013 +0200
- initial
elfio.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
---
diff --git a/elfio.spec b/elfio.spec
new file mode 100644
index 0000000..40ac5ca
--- /dev/null
+++ b/elfio.spec
@@ -0,0 +1,50 @@
+Summary: ELF (Executable and Linkable Format) reader and producer implemented as a C++ library
+Name: elfio
+Version: 2.1
+Release: 1
+Source0: https://downloads.sourceforge.net/project/elfio/ELFIO-sources/ELFIO-%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: d370c4e4ff432626dba661f9a30ff2f1
+License: MIT
+Group: Libraries
+URL: http://elfio.sourceforge.net/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ELFIO is a C++ library for reading and generating files in the ELF\
+binary format. This library is unique and not based on any other\
+product. It is also platform independent. The library uses standard\
+ANSI C++ constructions and runs on a wide variety of architectures.
+
+%package -n elfio-devel
+Summary: Development tools for programs using the elfio library
+Group: Development/Libraries
+
+%description -n elfio-devel
+This package contains the header files and libraries needed for
+developing programs using the elfio library.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS
+%attr(755,root,root) %{_bindir}/elfdump
+
+%files -n elfio-devel
+%defattr(644,root,root,755)
+%doc doc/elfio.pdf
+%{_includedir}/elfio
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/elfio.git/commitdiff/ec92a51982c97f26c6b42526e1580ab0a8297657
More information about the pld-cvs-commit
mailing list