- rel. 1 killed /usr/local
authordjurban <djurban@pld-linux.org>
Thu, 17 Jun 2004 16:03:17 +0000 (16:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Mliteraki.spec -> 1.7

Mliteraki.spec

index a61921c..641048e 100644 (file)
@@ -3,12 +3,12 @@ Summary:      Polish version of Mliteraki game
 Summary(pl):   Polska wersja gry Mliteraki
 Name:          Mliteraki
 Version:       1.0
-Release:       0.3
+Release:       1
 License:       GPL v2
 Group:         X11/Applications/Games
 Source0:       %{name}_pl-%{version}.tar.gz
 # Source0-md5: 91d5372cce673c4b9270f838fcf1b7c6
-Patch0:                %{name}_pl_config.patch
+Patch0:                %{name}_pl-fixes.patch
 URL:           http://www.mardo.prv.pl
 Requires:      wxGTK
 BuildRequires: wxGTK-devel
@@ -23,37 +23,28 @@ Mliteraki jest gr
 popularnej gry scrabble. Zosta³a napisana przez Tomasza Mularczyka na
 konkurs organizowany w portalu kurnik.pl. Jest to polska wersja gry.
 
-%define  _instdir  /usr/local/
-
 %prep
 %setup -q -n Mliteraki
-%patch0 -p1
+%patch0 -p0
 
 %build
-%{__make}
+%{__cxx} `wxgtk-2.4-config --cflags` `wxgtk-2.4-config --libs` -o Mliter Mliter.cpp
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/{%{_instdir}/bin,%{%_instdir}/games/Mliter_pl}
-
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT$/%{_instdir}
+install -d $RPM_BUILD_ROOT/{%{_bindir},%{_datadir}/games/Mliter_pl}
+cp -r dane $RPM_BUILD_ROOT%{_datadir}/games/Mliter_pl
+cp -r graf $RPM_BUILD_ROOT%{_datadir}/games/Mliter_pl
+cp -r html $RPM_BUILD_ROOT%{_datadir}/games/Mliter_pl
+cp -r slowniki  $RPM_BUILD_ROOT%{_datadir}/games/Mliter_pl
+install Mliter $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%dir %{_instdir}/games/Mliter_pl/
-%dir %{_instdir}/games/Mliter_pl/dane/
-%dir %{_instdir}/games/Mliter_pl/graf/
-%dir %{_instdir}/games/Mliter_pl/html/
-%dir %{_instdir}/games/Mliter_pl/slowniki/
-%{_instdir}/games/Mliter_pl/*.txt
-%{_instdir}/games/Mliter_pl/dane/*
-%{_instdir}/games/Mliter_pl/graf/*
-%{_instdir}/games/Mliter_pl/html/*
-%{_instdir}/games/Mliter_pl/slowniki/*
-%attr(755,root,root) %{_instdir}/games/Mliter_pl/Mliter
-%attr(755,root,root) %{_instdir}/bin/*
+%doc czytaj.txt
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/games/Mliter_pl
This page took 0.097717 seconds and 4 git commands to generate.