]> git.pld-linux.org Git - packages/man-pages.git/blob - man-pages.spec
- added man/pl/ pages from PTM snapshot
[packages/man-pages.git] / man-pages.spec
1 Summary:        System manual pages from the Linux Documentation Project
2 Summary(de):    System-man-Seiten vom Linux Documentation Project
3 Summary(fr):    Pages man système du Projet de Documentation Linux
4 Summary(pl):    Podrêczniki systemowe z Linux Documentation Project
5 Summary(tr):    Linux Belgeleme Projesinin sistem kýlavuz sayfalarý
6 Name:           man-pages
7 Version:        1.35
8 Release:        2
9 License:        Distributable
10 Group:          Documentation
11 Group(de):      Dokumentation
12 Group(pl):      Dokumentacja
13 Source0:        ftp://ftp.win.tue.nl/pub/linux-local/manpages/%{name}-%{version}.tar.gz
14 Source1:        man-pages-pl-PTM-snapshot.20010913.tar.gz
15 Patch0:         man-pages-iconv.patch
16 Patch1:         man-pages-ctype.patch
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Autoreqprov:    false
20 Obsoletes:      man-pages-pl
21
22 %description
23 A large collection of man pages covering programming APIs, file
24 formats, protocols, etc.
25
26 - section 1 = user commands (intro only)
27 - section 2 = system calls
28 - section 3 = libc calls
29 - section 4 = devices (e.g., hd, sd)
30 - section 5 = file formats and protocols (e.g., wtmp, /etc/passwd,
31   nfs)
32 - section 6 = games (intro only)
33 - section 7 = conventions, macro packages, etc. (e.g., nroff, ascii)
34 - section 8 = system administration (intro only)
35
36 %description -l de
37 Eine große Sammlung von man-Seiten über Programmier-APIs,
38 Dateiformate, Protokolle, usw..
39
40 - section 1 = Benutzerbefehle (nur intro)
41 - section 2 = Systemaufrufe
42 - section 3 = libc-Aufrufe
43 - section 4 = Geräte (z.B. hd, sd)
44 - section 5 = Dateiformate und Protokolle (z.B. wtmp, /etc/passwd,
45   nfs)
46 - section 6 = Spiele (nur intro)
47 - section 7 = Konventionen, Makro-Pakete, usw. (z.B. nroff, ascii)
48 - section 8 = Systemverwaltung (nur intro)
49
50 %description -l fr
51 Un large ensemble de pages de man couvrant la programmation des APIs,
52 les formats de fichiers, les protocoles, etc.
53
54 - section 1 = commandes utilisateur (intro seulement)
55 - section 2 = appels système
56 - section 3 = appels libc
57 - section 4 = périphériques (e.g., hd, sd)
58 - section 5 = formats de fichiers et protocoles (e.g., wtmp,
59   /etc/passwd, nfs)
60 - section 6 = jeux (intro seulement)
61 - section 7 = conventions, paquetages, etc. (e.g., nroff, ascii)
62 - section 8 = administration système (intro seulement)
63
64 %description -l pl
65 Pakiet ten zawiera du¿± kolekcjê podrêczników ekranowych (man pages),
66 opisuj±cych format plików, protoko³y itp.
67
68 - sekcja 1 = komendy u¿ytkowników (tylko wstêp)
69 - sekcja 2 = wywo³ania systemowe
70 - sekcja 3 = wywo³ania bibliotek
71 - sekcja 4 = urz±dzenia (np., hd, sd)
72 - sekcja 5 = format plików i protoko³y (np., wtmp, /etc/passwd, nfs)
73 - sekcja 6 = gry (tylko wstêp)
74 - sekcja 7 = konwencje, makro-pakiety, etc. (np., nroff, ascii)
75 - sekcja 8 = administracja systemu (tylko wstêp)
76
77 %description -l tr
78 Programlama arayüzlerini, dosya formatlarýný, protokolleri vs.
79 kapsayan, geniþ bir kýlavuz sayfalarý derlemesi.
80
81 %prep
82 %setup -q -a1
83 %patch0 -p1
84 %patch1 -p1
85
86 %build
87 rm -f man1/{chgrp,chmod,chown,cp,dd,df,dircolors,du,install,diff}.1
88 rm -f man1/{ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,time,touch,dir,vdir}.1
89 rm -f man1/COPYING
90 rm -f man2/{capget,capset}.2 
91 rm -f man4/console.4
92 rm -f man5/passwd.5
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8}
97
98 for n in man{1,2,3,4,5,6,7,8}/*; do
99         install $n $RPM_BUILD_ROOT%{_mandir}/$n
100 done
101
102 rm -f $RPM_BUILD_ROOT%{_mandir}/man*/README*
103
104 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man{1,2,3,4,5,6,7,8}
105 for n in man{1,2,3,4,5,6,7,8}/*; do
106         if [ -f pl_PL/$n ]; then
107                 install pl_PL/$n $RPM_BUILD_ROOT%{_mandir}/pl/$n
108         fi
109 done
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %files
115 %defattr(644,root,root,755)
116 %{_mandir}/man*/*
117 %{_mandir}/pl/man*/*
This page took 0.121937 seconds and 3 git commands to generate.