]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - man-pages/man-pages.nm
Change how we make packages "noarch"
[people/pmueller/ipfire-3.x.git] / man-pages / man-pages.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = man-pages
7 version = 6.03
8 release = 1
9
10 groups = Base Documentation
11 url = http://www.kernel.org/pub/linux/docs/man-pages/
12 license = GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
13 summary = Man (manual) pages from the Linux Documentation Project.
14
15 description
16 A large collection of man pages (documentation) from the Linux
17 Documentation Project (LDP).
18 end
19
20 source_dl = http://www.kernel.org/pub/linux/docs/man-pages/
21 sources = %{thisapp}.tar.xz
22
23 build
24 arches = noarch
25
26 prepare_cmds
27 # Remove deprecated/unneeded stuff:
28
29 # libattr-devel
30 rm -vf man2/{,f,l}{get,list,remove,set}xattr.2
31
32 # db4
33 rm -vf man3/{db,btree,dbopen,hash,mpool,recno}.3
34
35 # misc.
36 rm -vf man2/pciconfig_{write,read,iobase}.2
37 end
38
39 build = # Do nothing
40
41 make_install_targets += \
42 mandir=%{mandir}
43 end
44
45 packages
46 package %{name}
47 requires
48 man-db
49 end
50 end
51 end