]> git.pld-linux.org Git - packages/console-data.git/blobdiff - console-data.spec
- added using %%{__make} macro.
[packages/console-data.git] / console-data.spec
index 1185c08238310a7fdfbc113c1161362a36124bd1..af991cbaa11ffa50d646faea55464bfae0a644d2 100644 (file)
@@ -1,51 +1,70 @@
-Summary:        Linux console data
-Summary(pl):    Pliki danych dla konsoli
-Name:           console-data
-Version:        1999.04.15
-Release:        1
-Copyright:      GPL
-Group:          Utilities/Console
-Group(pl):      Narzêdzia/Konsola
-Source0:       ftp://sunsite.unc.edu/pub/Linux/system/keyboards/%{name}-%{version}.tar.gz
-BuildRoot:      /tmp/%{name}-%{version}-root
+Summary:       Linux console data
+Summary(pl):   Pliki danych dla konsoli
+Name:          console-data
+Version:       1999.08.29
+Release:       3
+License:       GPL
+Group:         Utilities/Console
+Group(pl):     Narzêdzia/Konsola
+Source0:       http://altern.org/ydirson/soft/lct/%{name}-%{version}.tar.gz
+Source1:       lat2u-16.psf.gz
+Source2:       lat2u.sfm.gz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This package contains all data files (keymaps, fonts, misc tables) 
+This package contains all data files (keymaps, fonts, misc tables)
 that used to be part of the console-tools.
 
 %description -l pl
-Ten pakiet zawiera pliki danych dla konsoli (fonty, mapy klawiatury,
-róznorodne tablice), które kiedy¶ by³y czê¶ci± console-tools.
+Ten pakiet zawiera pliki danych dla konsoli (czcionki, mapy
+klawiatury, róznorodne tablice), które kiedy¶ by³y czê¶ci±
+console-tools.
 
 %prep
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-        --with-main_compressor=gzip
-
+LDFLAGS="-s"; export LDFLAGS
+%configure \
+       --with-main_compressor=gzip
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+cp -f %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/consolefonts/
+cp -f %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/consoletrans/
 
-gzip -9nf doc/{fonts/*,keymaps/*} README.*
+gzip -9nf doc/{fonts/*,keymaps/*,README*} 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc doc/{fonts,keymaps} README.*
+%doc doc/{fonts,keymaps,README*} 
+
+%{_datadir}/consolefonts
+%{_datadir}/consoletrans
+%{_datadir}/unidata
+
+%dir %{_datadir}/keymaps
+%{_datadir}/keymaps/include
+%ifarch m68k
+%{_datadir}/keymaps/amiga
+%{_datadir}/keymaps/atari
+%endif
+
+%ifarch %ix86
+%{_datadir}/keymaps/i386
+%endif
 
-/usr/share/consolefonts
-/usr/share/consoletrans
-/usr/share/keymaps
-/usr/share/unidata
+%ifarch sparc sparc64
+%{_datadir}/keymaps/sun
+%endif
 
-%changelog
-* Thu 22 1999 Piotr Czerwiñski <pius@pld.org.pl>
-- initial rpm release.
+%ifarch m68k ppc
+%{_datadir}/keymaps/mac
+%endif
This page took 0.083877 seconds and 4 git commands to generate.