]> git.pld-linux.org Git - packages/dtc.git/commitdiff
- add -doc subpackage where all the docs are
authorshadzik <shadzik@pld-linux.org>
Thu, 8 May 2008 23:49:03 +0000 (23:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- this prevents doubling readme files

Changed files:
    dtc.spec -> 1.5

dtc.spec

index 8190a9f7ff8c45f195521b14315585b554435056..7daad25e44d1fda1d144bed7e10641809dca560b 100644 (file)
--- a/dtc.spec
+++ b/dtc.spec
@@ -12,6 +12,7 @@ Source0:      http://www.jdl.com/software/%{name}-v%{version}.tgz
 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}
@@ -26,6 +27,7 @@ input format is "dts", a human readable source format, and creates a
 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
@@ -46,6 +48,17 @@ Static fdt library.
 %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}
 
@@ -68,15 +81,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libfdt.a
+
+%files doc
+%doc TODO README.license Documentation/manual.txt
This page took 0.1231 seconds and 4 git commands to generate.