]> git.pld-linux.org Git - packages/elfio.git/blob - elfio.spec
BR libstdc++-devel, shut up check-files
[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 BuildRequires:  libstdc++-devel
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 ELFIO is a C++ library for reading and generating files in the ELF
15 binary format. This library is unique and not based on any other
16 product. It is also platform independent. The library uses standard
17 ANSI C++ constructions and runs on a wide variety of architectures.
18
19 %package devel
20 Summary:        Development tools for programs using the elfio library
21 Group:          Development/Libraries
22
23 %description devel
24 This package contains the header files and libraries needed for
25 developing programs using the elfio library.
26
27 %prep
28 %setup -q
29
30 %build
31 %configure
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 %{__rm} $RPM_BUILD_ROOT%{_bindir}/{tutorial,write_obj,writer}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc AUTHORS
47 %attr(755,root,root) %{_bindir}/elfdump
48
49 %files devel
50 %defattr(644,root,root,755)
51 %doc doc/elfio.pdf
52 %{_includedir}/elfio
This page took 0.120319 seconds and 3 git commands to generate.