]> git.pld-linux.org Git - packages/file.git/blobdiff - file.spec
- modyfications for using neew rpm automation.
[packages/file.git] / file.spec
index 487c1f82e677f75ec2abdd75acf2fa35a3551d30..ae4e3c642a81cbd914038e692355f0761087bf21 100644 (file)
--- a/file.spec
+++ b/file.spec
@@ -4,144 +4,87 @@ Summary(fr): Commande file(1)
 Summary(pl):   komenda file(1)
 Summary(tr):   Dosya tipini belirleme aracý
 Name:          file
-Version:       3.26
-Release:       5
+Version:       3.32
+Release:       1
 Copyright:     distributable
 Group:         Utilities/File
 Group(pl):     Narzêdzia/Pliki
 Source0:       ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
-Source1:       file.gimp
-Source2:       file.xdelta
-Patch0:                file-glibc.patch
-Patch1:                file-sparcv9.patch
-Buildroot:     /tmp/%{name}-%{version}-root
+Patch0:                %{name}-sparc.patch
+Patch1:                %{name}-tfm.patch
+Patch2:                %{name}-ia64.patch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Conflicts:     xdelta < 1.0.0
 
+%define                _datadir        %{_prefix}/share/misc
+
 %description
-This package is useful for finding out what type of file you are looking at
-on your system. For example, if an fsck results in a file being stored in
-lost+found, you can run file on it to find out if it's safe to 'more' it or
-if it's a binary. It recognizes many file types, including ELF binaries,
-system libraries, RPM packages, and many different graphics formats.
+This package is useful for finding out what type of file you are
+looking at on your system. For example, if an fsck results in a file
+being stored in lost+found, you can run file on it to find out if it's
+safe to 'more' it or if it's a binary. It recognizes many file types,
+including ELF binaries, system libraries, RPM packages, and many
+different graphics formats.
 
 %description -l de
-Sie können dieses Paket verwenden, um zu bestimmen, welches Format eine
-bestimmte Datei hat. Wird durch fsck eine Datei in lost+found gespeichert,
-können Sie 'file' ausführen, um herauszufinden, ob Sie sie mit 'more'
-einsehen können, oder ob es sich um ein Binärprogramm handelt Das Programm
-erkennt u.a. ELF-Binärprogramme, System-Libraries, RPM-Pakete und viele
-Grafikformate.
+Sie können dieses Paket verwenden, um zu bestimmen, welches Format
+eine bestimmte Datei hat. Wird durch fsck eine Datei in lost+found
+gespeichert, können Sie 'file' ausführen, um herauszufinden, ob Sie
+sie mit 'more' einsehen können, oder ob es sich um ein Binärprogramm
+handelt Das Programm erkennt u.a. ELF-Binärprogramme,
+System-Libraries, RPM-Pakete und viele Grafikformate.
 
 %description -l fr
-Ce paquetage sert à trouver le type du fichier que vous recherchez sur votre
-système. Par exemple, si un fsck fait qu'un fichier a été stocké dans
-lost+found, vous pouvez lancer file dessus pour savoir si on peut faire un
-more, ou s'il s'agit d'un binaire. Il reconnaît de nombreux types de
-fichiers dont les binaires ELF, les bibliothèques systèmes, les paquetages
-RPM et de nombreux formats graphiques différents.
+Ce paquetage sert à trouver le type du fichier que vous recherchez sur
+votre système. Par exemple, si un fsck fait qu'un fichier a été stocké
+dans lost+found, vous pouvez lancer file dessus pour savoir si on peut
+faire un more, ou s'il s'agit d'un binaire. Il reconnaît de nombreux
+types de fichiers dont les binaires ELF, les bibliothèques systèmes,
+les paquetages RPM et de nombreux formats graphiques différents.
 
 %description -l pl
 Pakiet ten jest przydatny je¿eli chcesz rozpoznaæ typ plików w twoim
 systemie. Na przyk³ad je¿eli fsck zdeponuje jakie¶ pliki w katalogu
-lost+found, mo¿esz uruchomiæ file na zdeponowanym pliku i zobaczyæ jaki to
-jest typ pliku, jest to metoda bezpieczniejsza ni¿ 'more', ze wzglêdu na to,
-¿e to mo¿e byæ plik binarny. File potrafi rozpoznaæ wiele typów plików np.
-binarny ELF, biblioteki systemowe, pakiety RPM oraz wiele ró¿nych formatów
-graficznych i d¼wiêkowych.
+lost+found, mo¿esz uruchomiæ file na zdeponowanym pliku i zobaczyæ
+jaki to jest typ pliku, jest to metoda bezpieczniejsza ni¿ 'more', ze
+wzglêdu na to, ¿e to mo¿e byæ plik binarny. File potrafi rozpoznaæ
+wiele typów plików np. binarny ELF, biblioteki systemowe, pakiety RPM
+oraz wiele ró¿nych formatów graficznych i d¼wiêkowych.
 
 %description -l tr
-file, bir dosyayý inceleyerek ne tür bir dosya olduðu konusunda size bir
-fikir verebilir. Böylece uzantýsýndan ve adýndan ne olduðunu çýkaramadýðýnýz
-bir dosyayý hangi yazýlým ile kullanabileceðinize ya da ne yapacaðýnýza
-karar verebilisiniz. file, temel dosya tiplerini, çoðu grafik formatýný,
-çalýþtýrýlabilir dosyalarý, sistem kitaplýklarýný vs. tanýyabilir.
+file, bir dosyayý inceleyerek ne tür bir dosya olduðu konusunda size
+bir fikir verebilir. Böylece uzantýsýndan ve adýndan ne olduðunu
+çýkaramadýðýnýz bir dosyayý hangi yazýlým ile kullanabileceðinize ya
+da ne yapacaðýnýza karar verebilisiniz. file, temel dosya tiplerini,
+çoðu grafik formatýný, çalýþtýrýlabilir dosyalarý, sistem
+kitaplýklarýný vs. tanýyabilir.
 
 %prep
 %setup  -q
 %patch0 -p1
 %patch1 -p1
-
-install %{SOURCE1} ./Magdir/gimp
-install %{SOURCE2} ./Magdir/xdelta
+%patch2 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target} \
-       --prefix=/usr
+aclocal
+autoconf
+rm -f install-sh missing mkinstalldirs
+automake --copy --add-missing
+%configure
        
-make LDFLAGS="-s"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/man
-make prefix=$RPM_BUILD_ROOT/usr install
 
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man{1,4}/*
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) /usr/bin/file
-/usr/share/magic
-/usr/man/man[14]/*
-
-%changelog
-* Mon Apr 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [3.26-5]
-- new xdelta magic description,
-- added patch for sparcv9,
-- recompiles on new rpm.
-
-* Thu Mar 11 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [3.26-4]
-- removed man group from man pages.
-
-* Wed Dec 23 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [3.26-3]
-- added gzipping man pages,
-- added LDFLAGS="-s" make parameter.
-
-* Thu Nov 26 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [3.26-2]
-- updated file.xdelta from xdelta-1.0.0 and added
-  "Conflicts: xdelta < 1.0.0".
-
-* Fri Sep 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [3.26-1]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- corrected group on man pages,
-- updated base Source Url to ftp://ftp.astron.com/pub/file/,
-- added xdelta magic,
-- added stripping /usr/bin/file,
-- removed %defattr,
-- added using %%{name} and %%{version} in Source.
-
-* Mon Aug 24 1998 Jeff Johnson <jbj@redhat.com>
-  [3.25-1]
-- update to 3.25.
-- detect gimp XCF versions.
-
-* Thu Jul 23 1998 Wojtek Slusarczyk <wojtek@shadow.eu.org>
-  [3.24-2]
-- build against glibc-2.1,
-- added pl translation,
-- moved %changelog at the end of spec.
-
-* Thu May 07 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Wed Apr 08 1998 Erik Troan <ewt@redhat.com>
-- updated to 3.24
-- buildrooted
-
-* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
-
-* Mon Mar 31 1997 Erik Troan <ewt@redhat.com>
-  Fixed problems caused by 64 bit time_t.
 
-* Thu Mar 06 1997 Michael K. Johnson <johnsonm@redhat.com>
-  Improved recognition of Linux kernel images.
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/*
+%{_mandir}/man[14]/*
This page took 0.074263 seconds and 4 git commands to generate.