Changeset 140 for trunk/Install/rpm
- Timestamp:
- May 7, 2018, 12:38:04 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Install/rpm/c-evo.spec
r84 r140 15 15 Turn-based empire building game inspired by Civilization. 16 16 17 %global debug_package %{nil} 18 17 19 %prep 18 20 %setup -q -c $(RPM_NAME)-$(RPM_VERSION) … … 20 22 21 23 %build 22 (cd AI ; lazbuild --build-mode=Release AIProject.lpi)23 mv AI/ libstdai.soAI/libstdai-%{_target_cpu}.so24 sed -i 's/libstdai-amd64.so/libstdai-%{_target_cpu}.so/g' AI/StdAI .ai.txt24 (cd AI/StdAI ; lazbuild --build-mode=Release AIProject.lpi) 25 mv AI/StdAI/libstdai.so AI/StdAI/libstdai-%{_target_cpu}.so 26 sed -i 's/libstdai-amd64.so/libstdai-%{_target_cpu}.so/g' AI/StdAI/StdAI.ai.txt 25 27 lazbuild --build-mode=Release Integrated.lpi 26 28 … … 35 37 install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps 36 38 install -m 644 Graphics/c-evo_64x64.png $RPM_BUILD_ROOT/usr/share/pixmaps/c-evo.png 37 install -d -m 755 $RPM_BUILD_ROOT/usr/share/c-evo/AI 38 install -m 644 AI/ libstdai-%{_target_cpu}.so $RPM_BUILD_ROOT/usr/share/c-evo/AI39 install -m 644 AI/StdAI .ai.txt $RPM_BUILD_ROOT/usr/share/c-evo/AI40 install -m 644 AI/StdAI .png $RPM_BUILD_ROOT/usr/share/c-evo/AI41 install -d -m 755 $RPM_BUILD_ROOT/ /usr/share/c-evo/Graphics42 install -D -m 644 Graphics/* $RPM_BUILD_ROOT/ /usr/share/c-evo/Graphics43 install -d -m 755 $RPM_BUILD_ROOT/ /usr/share/c-evo/Help44 install -D -m 644 Help/* $RPM_BUILD_ROOT/ /usr/share/c-evo/Help45 install -d -m 755 $RPM_BUILD_ROOT/ /usr/share/c-evo/Sounds46 install -D -m 644 Sounds/* $RPM_BUILD_ROOT/ /usr/share/c-evo/Sounds47 install -d -m 755 $RPM_BUILD_ROOT/ /usr/share/c-evo/Tribes48 install -D -m 644 Tribes/* $RPM_BUILD_ROOT/ /usr/share/c-evo/Tribes49 install -d -m 755 $RPM_BUILD_ROOT/ /usr/share/c-evo/Localization50 cp -R Localization $RPM_BUILD_ROOT/ /usr/share/c-evo39 install -d -m 755 $RPM_BUILD_ROOT/usr/share/c-evo/AI/StdAI 40 install -m 644 AI/StdAI/libstdai-%{_target_cpu}.so $RPM_BUILD_ROOT/usr/share/c-evo/AI/StdAI 41 install -m 644 AI/StdAI/StdAI.ai.txt $RPM_BUILD_ROOT/usr/share/c-evo/AI/StdAI 42 install -m 644 AI/StdAI/StdAI.png $RPM_BUILD_ROOT/usr/share/c-evo/AI/StdAI 43 install -d -m 755 $RPM_BUILD_ROOT/usr/share/c-evo/Graphics 44 install -D -m 644 Graphics/* $RPM_BUILD_ROOT/usr/share/c-evo/Graphics 45 install -d -m 755 $RPM_BUILD_ROOT/usr/share/c-evo/Help 46 install -D -m 644 Help/* $RPM_BUILD_ROOT/usr/share/c-evo/Help 47 install -d -m 755 $RPM_BUILD_ROOT/usr/share/c-evo/Sounds 48 install -D -m 644 Sounds/* $RPM_BUILD_ROOT/usr/share/c-evo/Sounds 49 install -d -m 755 $RPM_BUILD_ROOT/usr/share/c-evo/Tribes 50 install -D -m 644 Tribes/* $RPM_BUILD_ROOT/usr/share/c-evo/Tribes 51 install -d -m 755 $RPM_BUILD_ROOT/usr/share/c-evo/Localization 52 cp -R Localization $RPM_BUILD_ROOT/usr/share/c-evo 51 53 52 54 install -m 644 Language.txt $RPM_BUILD_ROOT/usr/share/c-evo/ 53 55 install -m 644 Language2.txt $RPM_BUILD_ROOT/usr/share/c-evo/ 54 install -m 644 Fonts.txt $RPM_BUILD_ROOT/usr/share/c-evo/ 56 install -m 644 Fonts.txt $RPM_BUILD_ROOT/usr/share/c-evo/ 55 57 56 58 %clean … … 62 64 /usr/bin/c-evo 63 65 /usr/share/applications/c-evo.desktop 64 /usr/share/c-evo/AI/libstdai-x86_64.so65 66 /usr/share/c-evo/* 66 67 /usr/share/pixmaps/c-evo.png
Note:
See TracChangeset
for help on using the changeset viewer.