Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use packaging_rake_tasks.gem like YaST does. Moved files for RPM building to package/ dir.
- Loading branch information
Showing
5 changed files
with
122 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,5 +107,3 @@ tmp | |
# Subversion | ||
.svn/ | ||
|
||
# OBS commit | ||
package/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# | ||
# spec file for package libyui-ncurses-doc | ||
# | ||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. | ||
# | ||
# All modifications and additions to the file contributed by third parties | ||
# remain the property of their copyright owners, unless otherwise agreed | ||
# upon. The license for this file, and modifications and additions to the | ||
# file, is the same license as for the pristine package itself (unless the | ||
# license for the pristine package is not an Open Source License, in which | ||
# case the license is the MIT License). An "Open Source License" is a | ||
# license that conforms to the Open Source Definition (Version 1.9) | ||
# published by the Open Source Initiative. | ||
|
||
# Please submit bugfixes or comments via http://bugs.opensuse.org/ | ||
# | ||
|
||
|
||
Name: libyui-ncurses-doc | ||
Version: 2.47.2 | ||
Release: 0 | ||
Source: libyui-ncurses-%{version}.tar.bz2 | ||
|
||
BuildArch: noarch | ||
|
||
BuildRequires: cmake >= 2.8 | ||
BuildRequires: doxygen | ||
BuildRequires: fdupes | ||
BuildRequires: gcc-c++ | ||
BuildRequires: graphviz-gnome | ||
BuildRequires: libyui-devel >= 3.0.4 | ||
BuildRequires: texlive-latex | ||
|
||
Url: http://github.com/libyui/ | ||
Summary: Libyui-ncurses documentation | ||
License: LGPL-2.1 or LGPL-3.0 | ||
Group: Documentation/HTML | ||
|
||
%description | ||
This package contains the character based (ncurses) user interface | ||
component for libYUI. | ||
|
||
|
||
This package provides the documentation. (HTML & PDF) | ||
|
||
|
||
%prep | ||
|
||
%setup -n libyui-ncurses-%{version} | ||
|
||
%build | ||
|
||
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" | ||
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" | ||
|
||
./bootstrap.sh %{_prefix} | ||
|
||
mkdir build | ||
cd build | ||
cmake .. \ | ||
-DDOC_DIR=%{_docdir} \ | ||
-DDOCS_ONLY=ON | ||
|
||
make %{?jobs:-j%jobs} docs | ||
|
||
%install | ||
cd build | ||
make install DESTDIR="$RPM_BUILD_ROOT" | ||
|
||
%fdupes -s $RPM_BUILD_ROOT/%_docdir/libyui-ncurses7 | ||
|
||
%clean | ||
rm -rf "$RPM_BUILD_ROOT" | ||
|
||
%files | ||
%defattr(-,root,root) | ||
%doc %{_docdir}/libyui-ncurses7 | ||
|
||
%changelog |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters