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