[packages/kde5-extra-cmake-modules] - initial

arekm arekm at pld-linux.org
Thu Nov 20 09:14:07 CET 2014


commit c17ec7b02f08d0ed21d898bebdc0b868ad4a1533
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 20 09:13:52 2014 +0100

    - initial

 kde5-extra-cmake-modules.spec | 53 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/kde5-extra-cmake-modules.spec b/kde5-extra-cmake-modules.spec
new file mode 100644
index 0000000..fbade50
--- /dev/null
+++ b/kde5-extra-cmake-modules.spec
@@ -0,0 +1,53 @@
+#
+# Conditional build:
+#
+%define		_state		stable
+%define		orgname		extra-cmake-modules
+%define		kdeframever	5.4
+
+Summary:	K Desktop Environment - Additional modules for CMake
+Name:		kde5-extra-cmake-modules
+Version:	1.4.0
+Release:	1
+License:	BSD
+Group:		Development/Building
+Source0:	http://download.kde.org/stable/frameworks/%{kdeframever}/%{orgname}-%{version}.tar.xz
+# Source0-md5:	a8a8278f5448a584cffec07692ed9f19
+URL:		http://www.kde.org/
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	qt5-linguist
+BuildRequires:	sphinx-pdg
+Requires:	cmake >= 2.8.12
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Additional modules for CMake build system needed by KDE Frameworks.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+	..
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+mv $RPM_BUILD_ROOT%{_docdir}/ECM ECM-doc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst ECM-doc/*
+%{_datadir}/ECM
+%{_mandir}/man7/ecm*.7*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde5-extra-cmake-modules.git/commitdiff/c17ec7b02f08d0ed21d898bebdc0b868ad4a1533



More information about the pld-cvs-commit mailing list