]> git.pld-linux.org Git - packages/BasiliskII.git/blobdiff - BasiliskII.spec
- added using %%{__make} macro.
[packages/BasiliskII.git] / BasiliskII.spec
index 46b319de58c6b6661b6e4f7802b72e9433c56194..da4ea0adb8c5407d6758ae3be13f2554b735f6ab 100644 (file)
@@ -1,70 +1,63 @@
-Summary:   A software emulation of the Aplle Macintosh
-Summary(pl): Programowy emulator Maca
-Name:      BasiliskII
-Version:   0.6
-Release:   1
-URL:       http://www.uni-mainz.de/~bauec002/B2Main.html
-Source:    BasiliskII_src_120799.tar.gz
-Copyright: GPL
-Group:     Applications/Emulators
-Group(pl): Aplikacje/Emulatory
-Vendor: PLD
-Packager: Roman Niewiarowski <newrom@pasjo.net.pl>
-BuildRoot: /tmp/%{name}-%{version}-root
+Summary:       A software emulation of the Aplle Macintosh
+Summary(pl):   Programowy emulator komputera Macintosh
+Name:          BasiliskII
+Version:       0.7
+Release:       1
+License:       GPL
+Group:         Applications/Emulators
+Group(pl):     Aplikacje/Emulatory
+Source0:       http://iphcip1.physik.uni-mainz.de/~cbauer/%{name}_src_250799.tar.gz
+Patch0:                BasiliskII-DESTDIR.patch
+URL:           http://www.uni-mainz.de/~bauec002/B2Main.html
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         /usr/X11R6/man
 
 %description
-BasiliskII is a software emulation of Aple Macintosh system
-hardware, which enables you to run most available Mac software.  Since
-it is a software emulation, no extra or special hardware is needed.
-BasiliskII can be run with MacOS 7.X or 8.X (but 7.0.0 is not recommended)
-ROM file are not included in this archive, You need a really mac 68k
+BasiliskII is a software emulation of Aple Macintosh system hardware,
+which enables you to run most available Mac software. Since it is a
+software emulation, no extra or special hardware is needed. BasiliskII
+can be run with MacOS 7.X or 8.X (but 7.0.0 is not recommended) ROM
+file are not included in this archive, You need a really mac 68k
 Warning!!! This is the alpha release!!!
 
 %description -l pl
-BasiliskII jest programowym emulatorem komputera Aplle Macintosh, 
-pozwal±jacym na uruchomienie wiêkszosci aplikacji MacOSa. 
-Emulacja przeprowadzana jest programowo wiêc  nie jest konieczne posiadanie 
-dodatkowego sprzêtu.  BasiliskII mo¿e pracowaæ z MacOSem 7.X lub 8.X 
-(aczkolwiek 7.0.0 nie jest polecany)
-Uwaga!!! Program jest w stadium alfa!!!!
+BasiliskII jest programowym emulatorem komputera Aplle Macintosh,
+pozwal±jacym na uruchomienie wiêkszosci aplikacji MacOSa. Emulacja
+przeprowadzana jest programowo, wiêc nie jest konieczne posiadanie
+dodatkowego sprzêtu. BasiliskII mo¿e pracowaæ z MacOSem 7.X lub 8.X
+(aczkolwiek 7.0.0 nie jest polecany) Uwaga!!! Program jest w stadium
+alfa!!!!
 
 %prep
-%setup -q
+%setup -q -n %{name}
+%patch -p1
 
 %build
 cd src/Unix
-./configure --prefix=/usr
+CXXFLAGS="$RPM_OPT_FLAGS"
+CPPFLAGS="$RPM_OPT_FLAGS"
+LDFLAGS="-s"
+export CPPFLAGS CXXFLAGS LDFLAGS
+%configure
 
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/usr/lib/BasiliskII/Linux
-install -d $RPM_BUILD_ROOT/usr/X11R6/bin
+(cd src/Unix
+%{__make} install DESTDIR=$RPM_BUILD_ROOT)
 
-install -m755 -s src/Unix/BasiliskII $RPM_BUILD_ROOT/usr/X11R6/bin
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
+       CHANGES README TECH TODO
 
-cp -R src/Unix/Linux/* $RPM_BUILD_ROOT/usr/lib/BasiliskII/Linux
-mkdir docs
-cp CHANGES COPYING README TECH TODO docs
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
-%doc docs/*
-/usr/lib/BasiliskII
-/usr/X11R6/bin/*
-
-%changelog
-* Fri Jul 23 1999 Roman Niewiarowski <newrom@pasjo.net.pl>
-  [0.6-1]
-- First rpm release
-- Hallo World ;)
-
-%changelog -l pl
-* Fri Jul 23 1999 Roman Niewiarowski <newrom@pasjo.net.pl>
-  [0.6-1]
-- Pierwsze wydanie w rpmie :)
-- Hallo World ;)
+%defattr(644,root,root,755)
+%doc *.gz
+%doc src/Unix/Linux
+%attr(755,root,root) %{_bindir}/*
This page took 0.074244 seconds and 4 git commands to generate.