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