/[packages]/cauldron/genromfs/current/SPECS/genromfs.spec
ViewVC logotype

Contents of /cauldron/genromfs/current/SPECS/genromfs.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
File size: 909 byte(s)
oops
1 %define name genromfs
2 %define version 0.5.2
3 %define release %mkrel 8
4
5 Summary: Tool for creating romfs filesystems
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 License: GPL
10 Group: System/Kernel and hardware
11 Source: http://unc.dl.sourceforge.net/sourceforge/romfs/%{name}-%{version}.tar.gz
12 URL: http://romfs.sourceforge.net
13 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
14
15 %description
16 Genromfs is a tool for creating romfs filesystems, which are
17 lightweight, read-only filesystems supported by the Linux
18 kernel.
19
20 %prep
21 %setup -q
22
23 %build
24 make CFLAGS="$RPM_OPT_FLAGS -DVERSION=\\\"%{version}\\\""
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 install -m 0755 %{name} -D $RPM_BUILD_ROOT%{_bindir}/%{name}
29 install -m 0644 %{name}.8 -D $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
30
31 %clean
32 rm -rf $RPM_BUILD_ROOT
33
34 %files
35 %defattr(-,root,root)
36 %doc romfs.txt COPYING ChangeLog NEWS
37 %{_bindir}/*
38 %{_mandir}/man8/*
39
40
41

  ViewVC Help
Powered by ViewVC 1.1.30