]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - man-pages/man-pages.nm
Change how we make packages "noarch"
[people/pmueller/ipfire-3.x.git] / man-pages / man-pages.nm
index 2728fa7b1de611e588acf27555b256b6c9c2d9a6..dafd46c996beb7bce9c2aea7cc366c8a98394bd8 100644 (file)
@@ -4,12 +4,11 @@
 ###############################################################################
 
 name       = man-pages
-version    = 3.35
+version    = 6.03
 release    = 1
-arch       = noarch
 
 groups     = Base Documentation
-url        = http://www.kernel.org/pub/linux/docs/manpages/
+url        = http://www.kernel.org/pub/linux/docs/man-pages/
 license    = GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
 summary    = Man (manual) pages from the Linux Documentation Project.
 
@@ -18,10 +17,29 @@ description
        Documentation Project (LDP).
 end
 
-source_dl  =
+source_dl  = http://www.kernel.org/pub/linux/docs/man-pages/
+sources    = %{thisapp}.tar.xz
 
 build
+       arches = noarch
+
+       prepare_cmds
+               # Remove deprecated/unneeded stuff:
+
+               # libattr-devel
+               rm -vf man2/{,f,l}{get,list,remove,set}xattr.2
+
+               # db4
+               rm -vf man3/{db,btree,dbopen,hash,mpool,recno}.3
+
+               # misc.
+               rm -vf man2/pciconfig_{write,read,iobase}.2
+       end
+
        build = # Do nothing
+
+       make_install_targets += \
+               mandir=%{mandir}
 end
 
 packages