]> git.pld-linux.org Git - packages/file.git/blob - file.spec
FHS 2.0
[packages/file.git] / file.spec
1 Summary:        file(1) command
2 Summary(de):    Befehl file(1)
3 Summary(fr):    Commande file(1)
4 Summary(pl):    komenda file(1)
5 Summary(tr):    Dosya tipini belirleme aracý
6 Name:           file
7 Version:        3.26
8 Release:        6
9 Copyright:      distributable
10 Group:          Utilities/File
11 Group(pl):      Narzêdzia/Pliki
12 Source0:        ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
13 Source1:        file.gimp
14 Source2:        file.xdelta
15 Patch0:         file-fhs.patch
16 Patch1:         file-sparcv9.patch
17 Buildroot:      /tmp/%{name}-%{version}-root
18 Conflicts:      xdelta < 1.0.0
19
20 %description
21 This package is useful for finding out what type of file you are looking at
22 on your system. For example, if an fsck results in a file being stored in
23 lost+found, you can run file on it to find out if it's safe to 'more' it or
24 if it's a binary. It recognizes many file types, including ELF binaries,
25 system libraries, RPM packages, and many different graphics formats.
26
27 %description -l de
28 Sie können dieses Paket verwenden, um zu bestimmen, welches Format eine
29 bestimmte Datei hat. Wird durch fsck eine Datei in lost+found gespeichert,
30 können Sie 'file' ausführen, um herauszufinden, ob Sie sie mit 'more'
31 einsehen können, oder ob es sich um ein Binärprogramm handelt Das Programm
32 erkennt u.a. ELF-Binärprogramme, System-Libraries, RPM-Pakete und viele
33 Grafikformate.
34
35 %description -l fr
36 Ce paquetage sert à trouver le type du fichier que vous recherchez sur votre
37 système. Par exemple, si un fsck fait qu'un fichier a été stocké dans
38 lost+found, vous pouvez lancer file dessus pour savoir si on peut faire un
39 more, ou s'il s'agit d'un binaire. Il reconnaît de nombreux types de
40 fichiers dont les binaires ELF, les bibliothèques systèmes, les paquetages
41 RPM et de nombreux formats graphiques différents.
42
43 %description -l pl
44 Pakiet ten jest przydatny je¿eli chcesz rozpoznaæ typ plików w twoim
45 systemie. Na przyk³ad je¿eli fsck zdeponuje jakie¶ pliki w katalogu
46 lost+found, mo¿esz uruchomiæ file na zdeponowanym pliku i zobaczyæ jaki to
47 jest typ pliku, jest to metoda bezpieczniejsza ni¿ 'more', ze wzglêdu na to,
48 ¿e to mo¿e byæ plik binarny. File potrafi rozpoznaæ wiele typów plików np.
49 binarny ELF, biblioteki systemowe, pakiety RPM oraz wiele ró¿nych formatów
50 graficznych i d¼wiêkowych.
51
52 %description -l tr
53 file, bir dosyayý inceleyerek ne tür bir dosya olduðu konusunda size bir
54 fikir verebilir. Böylece uzantýsýndan ve adýndan ne olduðunu çýkaramadýðýnýz
55 bir dosyayý hangi yazýlým ile kullanabileceðinize ya da ne yapacaðýnýza
56 karar verebilisiniz. file, temel dosya tiplerini, çoðu grafik formatýný,
57 çalýþtýrýlabilir dosyalarý, sistem kitaplýklarýný vs. tanýyabilir.
58
59 %prep
60 %setup  -q
61 %patch0 -p1
62 %patch1 -p1
63
64 install %{SOURCE1} ./Magdir/gimp
65 install %{SOURCE2} ./Magdir/xdelta
66
67 %build
68 chmod +w configure && autoconf
69 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
70     ./configure \
71         --prefix=%{_prefix} \
72         %{_target_platform}
73         
74 make LDFLAGS="-s"
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/man/man{1,4}}
80
81 make \
82     prefix=$RPM_BUILD_ROOT%{_prefix} \
83     install
84
85 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,4}/*
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92
93 %attr(755,root,root) %{_bindir}/*
94 %{_datadir}/misc/*
95 %{_mandir}/man[14]/*
96
97 %changelog
98 * Mon May 31 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
99 - FHS 2.0 
100
101 * Mon Apr 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
102   [3.26-5]
103 - new xdelta magic description,
104 - added patch for sparcv9,
105 - recompiles on new rpm.
106
107 * Thu Mar 11 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
108   [3.26-4]
109 - removed man group from man pages.
110
111 * Wed Dec 23 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
112   [3.26-3]
113 - added gzipping man pages,
114 - added LDFLAGS="-s" make parameter.
115
116 * Thu Nov 26 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
117   [3.26-2]
118 - updated file.xdelta from xdelta-1.0.0 and added
119   "Conflicts: xdelta < 1.0.0".
120
121 * Fri Sep 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
122   [3.26-1]
123 - added -q %setup parameter,
124 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
125 - corrected group on man pages,
126 - updated base Source Url to ftp://ftp.astron.com/pub/file/,
127 - added xdelta magic,
128 - added stripping %{_bindir}/file,
129 - removed %defattr,
130 - added using %%{name} and %%{version} in Source.
131
132 * Thu Jul 23 1998 Wojtek Slusarczyk <wojtek@shadow.eu.org>
133   [3.24-2]
134 - build against glibc-2.1,
135 - added pl translation,
136 - moved %changelog at the end of spec,
137 - start at RH spec file.
This page took 0.125027 seconds and 4 git commands to generate.