Rev | Line | |
---|
[521] | 1 | %define name elfio |
---|
| 2 | %define oname ELFIO |
---|
| 3 | %define version 1.0.3 |
---|
| 4 | %define release 1%{?_dist_release} |
---|
| 5 | |
---|
| 6 | Summary: ELF (Executable and Linkable Format) reader and producer implemented as a C++ library |
---|
| 7 | Name: %{name} |
---|
| 8 | Version: %{version} |
---|
| 9 | Release: %{release} |
---|
| 10 | Source0: http://downloads.sourceforge.net/%{name}/%{oname}-%{version}.tar.bz2 |
---|
| 11 | License: LGPL |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | Url: http://elfio.sourceforge.net/ |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | ELFIO is a C++ library for reading and generating files in the ELF |
---|
| 18 | binary format. This library is unique and not based on any other |
---|
| 19 | product. It is also platform independent. The library uses standard |
---|
| 20 | ANSI C++ constructions and runs on a wide variety of architectures. |
---|
| 21 | |
---|
| 22 | %prep |
---|
| 23 | %setup -q -n %{oname}-%{version} |
---|
| 24 | |
---|
| 25 | %build |
---|
| 26 | %configure |
---|
| 27 | %__make |
---|
| 28 | |
---|
| 29 | %install |
---|
| 30 | rm -rf %{buildroot} |
---|
| 31 | %makeinstall |
---|
| 32 | |
---|
| 33 | # compat name |
---|
| 34 | ln -sf libELFIO.a %{buildroot}%{_libdir}/libelfio.a |
---|
| 35 | |
---|
| 36 | %clean |
---|
| 37 | rm -rf %{buildroot} |
---|
| 38 | |
---|
| 39 | %files |
---|
| 40 | %defattr(-,root,root) |
---|
| 41 | %doc README AUTHORS doc/tutorial.pdf |
---|
| 42 | %{_bindir}/ELFDump |
---|
| 43 | %{_includedir}/ELF*.h |
---|
| 44 | %{_libdir}/*.a |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %changelog |
---|
| 48 | * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5 |
---|
| 49 | - applied new versioning policy |
---|
| 50 | |
---|
| 51 | * Sat Jun 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1 |
---|
| 52 | - initial build for Vine Linux |
---|
| 53 | |
---|
Note: See
TracBrowser
for help on using the repository browser.