Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87cd462377 | ||
|
|
a8ae13dbd3 | ||
|
|
03fd069c68 | ||
|
|
96637be8a6 |
4 changed files with 47 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: aimage
|
||||
# $Id$
|
||||
NAME := aimage
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
46
aimage.spec
Normal file
46
aimage.spec
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
Name: aimage
|
||||
Version: 3.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Advanced Disk Imager
|
||||
|
||||
Group: Applications/System
|
||||
License: BSD with advertising
|
||||
URL: http://www.afflib.org
|
||||
Source0: http://www.afflib.org/downloads/aimage-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: afflib-devel
|
||||
BuildRequires: expat-devel
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
%description
|
||||
Advanced Disk Imager.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure --enable-opt
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog
|
||||
%{_bindir}/aimage
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 12 2008 kwizart < kwizart at gmail.com > - 3.1.0-1
|
||||
- Initial spec file
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
b9fa654161a76f817f5f3dd1e2b74984 aimage-3.1.0.tar.gz
|
||||
Reference in a new issue