I am trying to build LaTeXila in my OBS home directory and it does not build correctly. I don’t understand the build errors. However the Fedora RPM installs fine so I have it up and running, but this is not really the right way I guess and I want to contribute to openSUSE. Can anyone help me?
Hi
%cmake isn’t a macro, just use cmake.
You might want to have a look at;
openSUSE:Build Service cross distribution howto - openSUSE
Also remove the rm -rf %{buildroot} from the %install section for openSUSE builds.
The update desktop files is incorrect for openSUSE, see;
openSUSE:Packaging guidelines - openSUSE specifically openSUSE:Packaging guidelines - openSUSE
icon updates are done via new macros;
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
openSUSE uses a changes file now so the changelog entries need to be removed from the spec file…
Thanks for the quick help. I tried to work on the .spec file and to follow the openSUSE guidelines, but there is now a new error message that I don’t understand.
Hi
Have a look here;
http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_update_desktop_file
For your categories it’s just name1 name2 etc no “;” required.
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop
up 2 days 0:10, 6 users, load average: 0.02, 0.06, 0.05
GPU GeForce 8600 GTS Silent - Driver Version: 270.41.06
I tried to change that, but still no successful build. Maybe it is something more severe?
Hi
No, just the order…
I’ve fixed you package there were a few bits missing, plus some
additional stuff that wasn’t needed. I created request id 74344 which
you should see in the WEB interface;
https://build.opensuse.org/request/show/74344
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop
up 2 days 3:28, 7 users, load average: 0.12, 0.27, 0.25
GPU GeForce 8600 GTS Silent - Driver Version: 270.41.06
Thanks for your help. It now builds and installs successfully.