SPECS: dtc.spec - add -doc subpackage where all the docs are - this prevent...
shadzik
shadzik at pld-linux.org
Fri May 9 01:49:08 CEST 2008
Author: shadzik Date: Thu May 8 23:49:08 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add -doc subpackage where all the docs are
- this prevents doubling readme files
---- Files affected:
SPECS:
dtc.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/dtc.spec
diff -u SPECS/dtc.spec:1.4 SPECS/dtc.spec:1.5
--- SPECS/dtc.spec:1.4 Thu May 8 17:33:21 2008
+++ SPECS/dtc.spec Fri May 9 01:49:03 2008
@@ -13,6 +13,7 @@
URL: http://git.jdl.com/gitweb/
BuildRequires: bison
BuildRequires: flex
+Requires: %{name}-doc = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%{?debug:%define with_verbose 1}
@@ -27,6 +28,7 @@
Summary: Header files for fdt library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki fdt
Group: Development/Libraries
+Requires: %{name}-doc = %{version}-%{release}
# does not require base. see README.license
%description devel
@@ -47,6 +49,17 @@
%description static -l pl.UTF-8
Statyczna biblioteka fdt.
+%package doc
+Summary: Dtc documentation
+Summary(pl.UTF-8): Dokumentacja dla dtc
+Group: Development/Libraries
+
+%description doc
+Dtc package documentation.
+
+%description doc -l pl.UTF-8
+Dokumentacja pakietu dtc.
+
%prep
%setup -q -n %{name}-v%{version}
@@ -69,12 +82,10 @@
%files
%defattr(644,root,root,755)
-%doc TODO README.license Documentation/manual.txt
%attr(755,root,root) %{_bindir}/dtc
%files devel
%defattr(644,root,root,755)
-%doc README.license
%{_includedir}/fdt.h
%{_includedir}/libfdt.h
@@ -82,12 +93,19 @@
%defattr(644,root,root,755)
%{_libdir}/libfdt.a
+%files doc
+%doc TODO README.license Documentation/manual.txt
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2008-05-08 23:49:03 shadzik
+- add -doc subpackage where all the docs are
+- this prevents doubling readme files
+
Revision 1.4 2008-05-08 15:33:21 arvenil
- BR: bison
- BR: flex
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dtc.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list