From 800fdd95838219f1e6f16ad63cc4074949093fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 29 Sep 2014 17:42:00 +0200 Subject: RPM packaging: add cmake macros --- .../trinity-cmake-macros/trinity-cmake-macros.spec | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 redhat/extras/trinity-cmake-macros/trinity-cmake-macros.spec (limited to 'redhat/extras') diff --git a/redhat/extras/trinity-cmake-macros/trinity-cmake-macros.spec b/redhat/extras/trinity-cmake-macros/trinity-cmake-macros.spec new file mode 100644 index 000000000..8ef5c62b3 --- /dev/null +++ b/redhat/extras/trinity-cmake-macros/trinity-cmake-macros.spec @@ -0,0 +1,40 @@ +Name: trinity-cmake-macros +Version: 1.0 +Release: 1%{?dist} +Summary: Rpmbuild macros for cmake utility + +Group: Development/Utilities +License: GPL +URL: http://www.trinitydesktop.org/ +Source0: macros.cmake + +Requires: cmake + +%description +This is the cmake macros for rpmbuild. +It was originally written for Fedora, but can be used on openSUSE too. + + +%prep + + +%build + + +%install +rm -rf $RPM_BUILD_ROOT +%__install -D -m 644 "%{SOURCE0}" %{?buildroot}%{_sysconfdir}/rpm/macros.cmake + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_sysconfdir}/rpm/macros.cmake + + +%changelog +* Mon Sep 29 2014 François Andriot - 1.0-1 +- Initial build for openSUSE -- cgit v1.2.1