libupnp/libupnp.spec

changeset 78
c278b9fd5b74
parent 77
f126a78c2705
child 84
944803a4d3f3
equal deleted inserted replaced
3:e64cc2f9aac3 4:fd583f80aba2
110 # run the native installation logic 110 # run the native installation logic
111 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT 111 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
112 112
113 # install docs 113 # install docs
114 %{l_shtool} mkdir -f -p -m 755 \ 114 %{l_shtool} mkdir -f -p -m 755 \
115 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/doc/pdf 115 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/doc/pdf \
116 %{l_shtool} install -c -m 755 \ 116 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/doc/html/ixml \
117 docs/dist/html $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/doc/ 117 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/doc/html/upnp
118 %{l_shtool} install -c -m 644 \ 118 %{l_shtool} install -c -m 644 \
119 docs/dist/*.pdf $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/doc/pdf/ 119 docs/dist/html/ixml/* \
120 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/doc/html/ixml/
121 %{l_shtool} install -c -m 644 \
122 docs/dist/html/upnp/* \
123 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/doc/html/upnp/
124 %{l_shtool} install -c -m 644 \
125 docs/dist/*.pdf \
126 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/doc/pdf/
120 127
121 # install examples 128 # install examples
122 %{l_shtool} mkdir -f -p -m 755 \ 129 %{l_shtool} mkdir -f -p -m 755 \
123 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/examples 130 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/examples
124 %{l_shtool} install -c -m 755 \ 131 %{l_shtool} install -c -m 755 \
126 upnp/sample/upnp_tv_ctrlpt \ 133 upnp/sample/upnp_tv_ctrlpt \
127 upnp/sample/upnp_tv_device \ 134 upnp/sample/upnp_tv_device \
128 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/examples/ 135 $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/examples/
129 136
130 # determine installation files 137 # determine installation files
131 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 138 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
132 '%doc %{l_prefix}/share/libupnp/doc/*' \ 139 %{l_files_std} \
133 '%doc %{l_prefix}/share/libupnp/doc/*/*' \ 140 '%doc %{l_prefix}/share/libupnp/doc/html/*/*' \
141 '%doc %{l_prefix}/share/libupnp/doc/pdf/*' \
134 '%not %dir %{l_prefix}/lib/pkgconfig' 142 '%not %dir %{l_prefix}/lib/pkgconfig'
135 143
136 %files -f files 144 %files -f files
137 145
138 %clean 146 %clean

mercurial