Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 149c4661542da48e55e439efc0792ab1 > files > 1

cmake-rpm-macros-9-9.mga9.src.rpm

Name:		cmake-rpm-macros
Summary:	Rpm macros and scripts for cmake
Epoch:		1
Version:	9
Release:	%mkrel 9
License:	GPLv2+
Group:		Development/Other
Url:		https://svnweb.mageia.org/packages/cauldron/cmake-rpm-macros/current/
Source1:	macros.cmake
# See https://bugzilla.redhat.com/show_bug.cgi?id=1202899
Source2:	cmake.attr
Source3:	cmake.prov
BuildArch:	noarch
Requires:	rpm-mageia-setup-build >= 2.46-3

%description
Rpm macros and scripts for cmake.

%files
%{_rpmmacrodir}/macros.cmake
%{_rpmconfigdir}/fileattrs/cmake.attr
%{_rpmconfigdir}/cmake.prov

%prep
#nothing

%build
#nothing

%install
# RPM macros
install -p -m0644 -D %{_sourcedir}/macros.cmake %{buildroot}%{_rpmmacrodir}/macros.cmake

# RPM auto provides
install -D -p -m644 %{_sourcedir}/cmake.attr %{buildroot}%{_rpmconfigdir}/fileattrs/cmake.attr
install -D -p -m755 %{_sourcedir}/cmake.prov %{buildroot}%{_rpmconfigdir}/cmake.prov


%changelog
* Thu Jan 19 2023 wally <wally> 1:9-9.mga9
+ Revision: 1934401
- make also CMAKE_INSTALL_LIBEXECDIR relative to %%_prefix

* Sat Jan 14 2023 wally <wally> 1:9-8.mga9
+ Revision: 1932924
- use %%_prefix relative path %%_lib for CMAKE_INSTALL_LIBDIR to avoid double prefix /usr/usr in pkgs builds

* Thu Dec 22 2022 daviddavid <daviddavid> 1:9-7.mga9
+ Revision: 1925696
- allow valid short arguments for %%ctest macro

* Thu Dec 22 2022 daviddavid <daviddavid> 1:9-6.mga9
+ Revision: 1925667
- make it possible to add arguments in ctest macros

* Wed Sep 14 2022 wally <wally> 1:9-5.mga9
+ Revision: 1888585
- update version extraction logic for Qt6 cmake() provides

* Mon Mar 21 2022 umeabot <umeabot> 1:9-4.mga9
+ Revision: 1815870
- Mageia 9 Mass Rebuild

* Sat Jan 01 2022 wally <wally> 1:9-3.mga9
+ Revision: 1766014
- disable stripping by default

* Thu May 13 2021 wally <wally> 1:9-2.mga9
+ Revision: 1722776
- simplify cmake.prov and make it to handle better Qt6 provides
- sync cmake.prov with Fedora

* Thu Feb 25 2021 wally <wally> 1:9-1.mga9
+ Revision: 1690836
- add more search paths for cmake() provides generation
  - /usr/lib(64)/foo/cmake
  - /usr/share/foo/cmake

* Wed Dec 30 2020 wally <wally> 1:8-6.mga8
+ Revision: 1665878
- define also CMAKE_C_FLAGS_RELEASE and CMAKE_CXX_FLAGS_RELEASE to '-DNDEBUG' with %%cmake macro

* Sun Sep 13 2020 wally <wally> 1:8-5.mga8
+ Revision: 1625938
- revert CMAKE_INSTALL_INCLUDEDIR change

* Sun Sep 13 2020 wally <wally> 1:8-4.mga8
+ Revision: 1625933
- define CMAKE_INSTALL_INCLUDEDIR with %%cmake macro

* Mon Jul 20 2020 wally <wally> 1:8-3.mga8
+ Revision: 1607497
- update %%cmake_build and %%cmake_install to handle different generators automatic (from Fedora)

* Sat Apr 18 2020 wally <wally> 1:8-2.mga8
+ Revision: 1568873
- use -Wno-dev by default (can be toggled by defining %%_cmake_Wdev)

* Mon Mar 30 2020 wally <wally> 1:8-1.mga8
+ Revision: 1562443
- split out cmake-rpm-macros from cmake
- Created package structure for cmake-rpm-macros.