templates/standard: add a devel subpackage
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
45b6f0d61d
commit
218df59a47
@ -21,6 +21,10 @@ Fri Nov 09 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||
* plugins/pck-update.in - Silvan Calarco:
|
||||
Restore build requirement detection for *.so requirements
|
||||
|
||||
+ improvement
|
||||
* templates/standard - Davide Madrisan:
|
||||
Add a devel subpackage.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.14.0
|
||||
|
@ -24,6 +24,17 @@ BuildRoot: @rpm_default_buildroot@
|
||||
%description
|
||||
...
|
||||
|
||||
@if:pck_devel
|
||||
## remove the following two blocks if there's no devel files
|
||||
%package devel
|
||||
Group: ...
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
@fi:pck_devel
|
||||
|
||||
@if:pck_apidocs
|
||||
%package apidocs
|
||||
Group: Documentation
|
||||
@ -91,6 +102,25 @@ exit 0
|
||||
## note: eventually add the remaining documents (if any)
|
||||
# @standard_docs_devel@
|
||||
|
||||
@if:pck_devel
|
||||
## remove this block if there's no devel files
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
## note: this list is just an example; modify as required
|
||||
# %{_datadir}/aclocal/*.m4
|
||||
# %{_includedir}/*.h
|
||||
# %{_includedir}/%{name}
|
||||
# %{_libdir}/*.a
|
||||
# %{_libdir}/*.la
|
||||
# %{_libdir}/*.so
|
||||
# %{_libdir}/pkgconfig/*.pc
|
||||
# %{_mandir}/man3/*
|
||||
@if:infopages
|
||||
# %{_infodir}/*.info.*
|
||||
@fi:infopages
|
||||
@standard_docs_devel@
|
||||
@fi:pck_devel
|
||||
|
||||
@if:pck_apidocs
|
||||
%files apidocs
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user