]> git.pld-linux.org Git - packages/elfio.git/blob - elfio.spec
7ba34da5d32515cc7854c1f74dc4e34ab2010cf7
[packages/elfio.git] / elfio.spec
1 Summary:        ELF (Executable and Linkable Format) reader and producer implemented as a C++ library
2 Name:           elfio
3 Version:        2.1
4 Release:        1
5 License:        MIT
6 Group:          Libraries
7 Source0:        https://downloads.sourceforge.net/project/elfio/ELFIO-sources/ELFIO-%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  d370c4e4ff432626dba661f9a30ff2f1
9 URL:            http://elfio.sourceforge.net/
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 ELFIO is a C++ library for reading and generating files in the ELF
14 binary format. This library is unique and not based on any other
15 product. It is also platform independent. The library uses standard
16 ANSI C++ constructions and runs on a wide variety of architectures.
17
18 %package devel
19 Summary:        Development tools for programs using the elfio library
20 Group:          Development/Libraries
21
22 %description devel
23 This package contains the header files and libraries needed for
24 developing programs using the elfio library.
25
26 %prep
27 %setup -q
28
29 %build
30 %configure
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 %{__make} install \
36         DESTDIR=$RPM_BUILD_ROOT
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc AUTHORS
44 %attr(755,root,root) %{_bindir}/elfdump
45
46 %files devel
47 %defattr(644,root,root,755)
48 %doc doc/elfio.pdf
49 %{_includedir}/elfio
This page took 0.082378 seconds and 2 git commands to generate.