]> git.pld-linux.org Git - packages/cramfsswap.git/blob - cramfsswap.spec
Initial.
[packages/cramfsswap.git] / cramfsswap.spec
1 Summary:        swap endianess of a cram filesystem (cramfs)
2 Name:           cramfsswap
3 Version:        1.4.2
4 Release:        1
5 License:        GPL
6 Group:          Base/Utilities
7 Source0:        http://ftp.debian.org/debian/pool/main/c/cramfsswap/%{name}_%{version}.tar.xz
8 # Source0-md5:  f7813518fe788ae2e4fa6fd1a019c9e1
9 URL:            http://kju.de/projekte/cramfsswap/
10 BuildRequires:  zlib-devel
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 cramfs is a highly compressed and size optimized Linux filesystem
15 which is mainly used for embedded applications. The problem with
16 cramfs is that it is endianness sensitive, meaning you can't mount a
17 cramfs for a big endian target on a little endian machine and vice
18 versa. This is often especially a problem in the development phase.
19
20 cramfsswap solves that problem by allowing you to swap to endianness
21 of a cramfs filesystem.
22
23 %prep
24 %setup -q
25
26 %build
27 %{__make} cramfsswap \
28         CC="%{__cc}" \
29         CPPFLAGS="%{rpmcppflags}" \
30         CFLAGS="%{rpmcflags}"
31         LDFLAGS="%{rpmldflags}"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
37
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README
49 %attr(755,root,root) %{_bindir}/%{name}
50 %{_mandir}/man1/%{name}.1*
This page took 0.117808 seconds and 4 git commands to generate.