forked from pool/cmake
Accepting request 83104 from home:jengelh:bl-c
- Remove redundant tags/sections from specfile - Use %_smp_mflags for parallel build OBS-URL: https://build.opensuse.org/request/show/83104 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=79
This commit is contained in:
committed by
Git OBS Bridge
parent
c3ea107f92
commit
0f8f8d5921
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 17 23:11:42 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections from specfile
|
||||||
|
- Use %_smp_mflags for parallel build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 29 16:19:45 UTC 2011 - puzel@novell.com
|
Fri Jul 29 16:19:45 UTC 2011 - puzel@novell.com
|
||||||
|
|
||||||
|
@@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: cmake-gui
|
Name: cmake-gui
|
||||||
@@ -51,11 +50,6 @@ Requires: cmake
|
|||||||
This is a Graphical User Interface for CMake, a cross-platform,
|
This is a Graphical User Interface for CMake, a cross-platform,
|
||||||
open-source make system.
|
open-source make system.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Kitware, Inc., Insight Consortium
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n cmake-%{version}
|
%setup -q -n cmake-%{version}
|
||||||
%patch4
|
%patch4
|
||||||
@@ -80,7 +74,7 @@ export CFLAGS="$CXXFLAGS"
|
|||||||
%endif
|
%endif
|
||||||
--parallel=0%jobs \
|
--parallel=0%jobs \
|
||||||
--qt-gui
|
--qt-gui
|
||||||
make VERBOSE=1 %{?jobs:-j %jobs}
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
@@ -93,9 +87,6 @@ rm -rf %{buildroot}/usr/share/doc/packages/cmake
|
|||||||
rm -rf %{buildroot}/usr/share/man/man1/{cmake,cmakecommands,cmakecompat}.1
|
rm -rf %{buildroot}/usr/share/man/man1/{cmake,cmakecommands,cmakecompat}.1
|
||||||
rm -rf %{buildroot}/usr/share/man/man1/{cmakemodules,cmakepolicies,cmakeprops,cmakevars,cpack,ctest}.1
|
rm -rf %{buildroot}/usr/share/man/man1/{cmakemodules,cmakepolicies,cmakeprops,cmakevars,cpack,ctest}.1
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/cmake-gui
|
%{_bindir}/cmake-gui
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 17 23:11:46 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections from specfile
|
||||||
|
- Use %_smp_mflags for parallel build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 29 16:19:27 UTC 2011 - puzel@novell.com
|
Fri Jul 29 16:19:27 UTC 2011 - puzel@novell.com
|
||||||
|
|
||||||
|
10
cmake.spec
10
cmake.spec
@@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: cmake
|
Name: cmake
|
||||||
@@ -50,10 +49,6 @@ Requires: make
|
|||||||
%description
|
%description
|
||||||
CMake is a cross-platform, open-source make system
|
CMake is a cross-platform, open-source make system
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Kitware, Inc., Insight Consortium
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch4
|
%patch4
|
||||||
@@ -77,7 +72,7 @@ export CFLAGS="$CXXFLAGS"
|
|||||||
%endif
|
%endif
|
||||||
--parallel=0%jobs \
|
--parallel=0%jobs \
|
||||||
--no-qt-gui
|
--no-qt-gui
|
||||||
make VERBOSE=1 %{?jobs:-j %jobs}
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
@@ -88,9 +83,6 @@ cp ChangeLog.manual %{buildroot}/usr/share/doc/packages/%{name}/Changelog
|
|||||||
%fdupes %buildroot/usr/share/cmake
|
%fdupes %buildroot/usr/share/cmake
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/cpack
|
%{_bindir}/cpack
|
||||||
|
Reference in New Issue
Block a user