[Tizen-submit] 3508: New package devel:upstream/cmake

noreply at tizen.org noreply at tizen.org
Fri May 3 18:42:04 GMT 2013


Hi,
Adding new package cmake in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.184426
Git project: platform/upstream/cmake
Tag: submit/tizen/20130503.184426
Commit: d984652 Update to 2.8.10.2

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3508

  submit:       devel:upstream:build/cmake(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.184426
Git project: platform/upstream/cmake
Tag: submit/tizen/20130503.184426
Commit: d984652 Update to 2.8.10.2

State:   new        2013-05-03T11:12:33 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- cmake.changes
+++ cmake.changes
@@ -0,0 +1,3 @@
+* Wed Feb 13 2013 Anas Nashif <anas.nashif at intel.com> upstream/2.8.10.2 at 260abb7
+- Update to 2.8.10.2
+

new:
----
  cmake-2.8.10.2.tar.gz
  cmake.changes
  cmake.spec
  macros.cmake

spec files:
-----------

++++++ new spec file:
--- cmake.spec
+++ cmake.spec
@@ -0,0 +1,68 @@
+Name:           cmake
+Version:        2.8.10.2
+Release:        1
+VCS:        platform/upstream/cmake#submit/tizen/20130503.184426-0-gd984652
+License:        BSD-3-Clause
+Summary:        Cross-platform make system
+Url:            http://www.cmake.org
+Group:          Platfrom Development/Tools
+Source0:        http://www.cmake.org/files/v2.8/cmake-%{version}.tar.gz
+Source1:        macros.cmake
+BuildRequires:  fdupes
+BuildRequires:  expat-devel
+BuildRequires:  pkgconfig(libarchive) >= 2.8.0
+BuildRequires:  pkgconfig(libcurl)
+BuildRequires:  pkgconfig(zlib)
+BuildRequires:  procps
+BuildRequires:  pkgconfig(ncurses)
+BuildRequires:  gcc-c++
+
+%description
+CMake is used to control the software compilation process using simple platform
+and compiler independent configuration files. CMake generates native makefiles
+and workspaces that can be used in the compiler environment of your choice.
+CMake is quite sophisticated: it is possible to support complex environments
+requiring system configuration, pre-processor generation, code generation, and
+template instantiation.
+
+
+%prep
+%setup -q -n cmake-%{version}
+
+%build
+export CXXFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="$CXXFLAGS"
+./configure \
+    --prefix=%{_prefix} \
+    --datadir=/share/%{name} \
+    --docdir=/share/doc/packages/%{name} \
+    --mandir=/share/man \
+    --system-libs \
+    --parallel=0%jobs \
+    --no-qt-gui
+make VERBOSE=1 %{?_smp_mflags}
+
+%install
+%make_install 
+mkdir -p %{buildroot}%{_libdir}/cmake
+find %{buildroot}/usr/share/cmake -type f -print0 | xargs -0 chmod 644
+cp ChangeLog.manual %{buildroot}/usr/share/doc/packages/%{name}/Changelog
+
+# Install cmake rpm macros
+install -D -p -m 0644 %{S:1} \
+  %{buildroot}%{_sysconfdir}/rpm/macros.cmake
+
+fdupes %buildroot/usr/share/cmake
+
+%docs_package
+
+%files
+%defattr(-,root,root,-)
+%config(noreplace) %{_sysconfdir}/rpm/macros.cmake

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list