wesnoth.spec
Michał "lisu" Lisowski
lisu87 at gmail.com
Sun Aug 13 18:58:17 CEST 2006
Czesc. Sluchajcie, mam tu updet'awesnoth.spec z wersji 1.1.7 do wersji 1.1.8.
Trzeba bylo tez zrobic drobna zmiane w wesnoth-Makefile.patch. Niestety nie
wiem, jak poradzic sobie w samym spec'u z jedna sprawa. A mianowicie chodzi
o plki *.mo. Jak zobaczycie, w spec'u w sekcji %files jest sporo linijek
podobnych do tej:
%{_usr}/share/locale/af/LC_MESSAGES/wesnoth*
probowalem zamiast tych linijek zrobic tak:
...
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
...
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc changelog README MANUAL*
%attr(755,root,root) %{_bindir}/wesnoth
...
ale podczas budowy dostawalem taki error:
...
+ /usr/lib/rpm/find-lang.sh /tmp/wesnoth-1.1.8-root-lisu wesnoth.dsp
wesnoth.dsw
Error: international files not found !
błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.48936 (%install)
...
spec ogolnie sie buduje bez bledu, ale te pliki *.mo nie daja mi spokoju.
Jesli mozecie, to poradzcie co by tu zrobic, jezeli jest zle. Z gory
dziekuje.
Pozdrawiam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </mailman/pipermail/pld-devel-pl/attachments/20060813/e459de02/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wesnoth.spec.diff
Type: application/octet-stream
Size: 2591 bytes
Desc: not available
URL: </mailman/pipermail/pld-devel-pl/attachments/20060813/e459de02/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wesnoth-Makefile.patch.diff
Type: application/octet-stream
Size: 1294 bytes
Desc: not available
URL: </mailman/pipermail/pld-devel-pl/attachments/20060813/e459de02/attachment-0001.obj>
More information about the pld-devel-pl
mailing list