]> git.pld-linux.org Git - SPECS.git/blob - kernel-fs-operafs.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / kernel-fs-operafs.spec
1 #
2 # Condtional build:
3 %bcond_without  kernel          # don't build kernel modules
4 %bcond_without  dist_kernel     # without distribution kernel
5 %bcond_with     verbose         # verbose build (V=1)
6 #
7 %define _rel    1
8 Summary:        Opera file system
9 Summary(pl.UTF-8):      System plików Opera
10 Name:           kernel%{_alt_kernel}-fs-operafs
11 Version:        1.1
12 Release:        %{_rel}@%{_kernel_ver_str}
13 Epoch:          0
14 License:        GPL v2
15 Group:          Base/Kernel
16 Source0:        http://www.stack.nl/~svdb/operafs/operafs-%{version}.tar.gz
17 # Source0-md5:  eedc1d7d52450c99fd2bf2bf9d6fc6e8
18 Patch0:         operafs-main-comment.patch
19 URL:            http://www.stack.nl/~svdb/operafs/
20 %if %{with kernel}
21 %{?with_dist_kernel:BuildRequires:      kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
22 BuildRequires:  rpmbuild(macros) >= 1.379
23 %endif
24 %{?with_dist_kernel:%requires_releq_kernel}
25 Requires(post,postun):  /sbin/depmod
26 %{?with_dist_kernel:Requires(postun):   kernel%{_alt_kernel}}
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 OperaFS is a Linux implementation of the Opera file system, which is the
31 file system used on 3DO CD-ROM's.
32
33 %description -l pl.UTF-8
34 System plików Opera jest wykorzystywany do zapisu danych na płytach CD na
35 platformie 3DO.
36
37 %prep
38 %setup -q -n operafs-%{version}
39 %patch0 -p1
40
41 %build
42 %if %{with kernel}
43 %build_kernel_modules -m operafs
44 %endif
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %if %{with kernel}
50 %install_kernel_modules -m operafs -d fs
51 %endif
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 %depmod %{_kernel_ver}
58
59 %postun
60 %depmod %{_kernel_ver}
61
62 %if %{with kernel}
63 %files
64 %defattr(644,root,root,755)
65 /lib/modules/%{_kernel_ver}/fs/*
66 %endif
This page took 0.208456 seconds and 3 git commands to generate.