Commit Graph

7 Commits

Author SHA256 Message Date
Tomáš Chvátal
303c3d7aff - Also pass -Wl,-z,now lets see if that is passable :)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=170
2014-08-20 10:46:19 +00:00
Tomáš Chvátal
b391c89a1a Accepting request 245174 from KDE:Unstable:Frameworks
- Import some cmake handing from kf5- and kde4- filesystem to macros:
   * Simplify debug build handling in macros. Whether debug is on or off is known to optflags
   * Don't build in release mode, that cramps optimization flags; instead pass wanted flags directly
   * Pass -Wl,--as-needed -Wl,--no-undefined to linker, to avoid unneeded libs, and to disallow undefined symbols
   * Add a %make_jobs macro with verbose argument 
   * Simplify %cmake_install invocation

OBS-URL: https://build.opensuse.org/request/show/245174
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=169
2014-08-20 10:42:37 +00:00
Tomáš Chvátal
b5260f393c - Mark macros as %config
- use curl-devel to build with as the internal libcurl is broken
  with https bnc#892256
- Run tests to avoid such bugs in future
- Provide %ctest macro for testing to avoid people having to
  remember all the arguments

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=168
2014-08-18 08:21:42 +00:00
Tomáš Chvátal
19a8bafd89 Accepting request 239256 from home:sleep_walker:branches:devel:tools:building
- reduce number of sed calls in %cmake RPM macro

OBS-URL: https://build.opensuse.org/request/show/239256
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=161
2014-07-02 08:57:25 +00:00
Ismail Dönmez
0d6b7b1b22 Accepting request 205978 from home:bmanojlovic:branches:devel:tools:building
After discussion with scarabeus, we have agreed to use %_datadir macro even if user change it (and possibly fail this macro)

OBS-URL: https://build.opensuse.org/request/show/205978
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=129
2013-11-06 18:29:08 +00:00
Ismail Dönmez
9fa8fb7526 Accepting request 205960 from home:bmanojlovic:branches:devel:tools:building
- updated cmake.macros to include installation path for packages cmake modules

OBS-URL: https://build.opensuse.org/request/show/205960
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=128
2013-11-06 12:55:12 +00:00
Ismail Dönmez
1b90ba4d09 Accepting request 195426 from home:scarabeus_iv
This change is followup for the discussion at ml:
http://lists.opensuse.org/opensuse-factory/2013-08/msg00174.html

I would propose proceed by the schedule I mentioned there.
Most of this stuff is taken from what I did in Gentoo cmake system.


- One more backslash here.

- Backshlashes were missing in macros.

- Add opensuse_rules.cmake to set the default compiler and linker
  opts. Tweak a bit the macro to not let upstreams twerk with the
  cmake files too much.

- Provide macros.cmake which contains %cmake macro to reduce
  mess in the spec files.

OBS-URL: https://build.opensuse.org/request/show/195426
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=122
2013-08-16 09:35:44 +00:00