Added doc subpackage
This commit is contained in:
parent
e353fbdca2
commit
bb9a6c1178
17
jsoncpp.spec
17
jsoncpp.spec
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: jsoncpp
|
Name: jsoncpp
|
||||||
Version: %{src_release}
|
Version: %{src_release}
|
||||||
Release: 0.7.%{src_prerelease}%{?dist}
|
Release: 0.8.%{src_prerelease}%{?dist}
|
||||||
Summary: An implementation of a JSON reader and writer in C++
|
Summary: An implementation of a JSON reader and writer in C++
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: Public Domain or MIT
|
License: Public Domain or MIT
|
||||||
@ -21,6 +21,7 @@ C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format.
|
|||||||
It is easy for humans to read and write. It is easy for machines to parse and
|
It is easy for humans to read and write. It is easy for machines to parse and
|
||||||
generate.
|
generate.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development headers and library for %{name}
|
Summary: Development headers and library for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -30,6 +31,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
This package contains the development headers and library for %{name}.
|
This package contains the development headers and library for %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for %{name}
|
||||||
|
Group: Documentation
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
This package contains the documentation for %{name}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-src-%{src_version}
|
%setup -q -n %{name}-src-%{src_version}
|
||||||
grep -e "-Wall" SConstruct
|
grep -e "-Wall" SConstruct
|
||||||
@ -70,9 +80,14 @@ sed -i 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT%{_libdir}/pkgconfig/jsoncpp.p
|
|||||||
%{_libdir}/lib%{name}.so
|
%{_libdir}/lib%{name}.so
|
||||||
%{_includedir}/%{name}/
|
%{_includedir}/%{name}/
|
||||||
%{_libdir}/pkgconfig/jsoncpp.pc
|
%{_libdir}/pkgconfig/jsoncpp.pc
|
||||||
|
|
||||||
|
%files doc
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 15 2013 Sebastien Willmann <sebastien.willmann@gmail.com> - 0.6.0-0.8.rc2
|
||||||
|
- Added documentation sub-package
|
||||||
|
|
||||||
* Sun Jan 20 2013 Sebastien Willmann <sebastien.willmann@gmail.com> - 0.6.0-0.7.rc2
|
* Sun Jan 20 2013 Sebastien Willmann <sebastien.willmann@gmail.com> - 0.6.0-0.7.rc2
|
||||||
- Added graphviz as a BuildRequire
|
- Added graphviz as a BuildRequire
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user