Accepting request 637416 from home:namtrac:branches:Publishing
Simplify futher OBS-URL: https://build.opensuse.org/request/show/637416 OBS-URL: https://build.opensuse.org/package/show/Publishing/svg-schema?expand=0&rev=9
This commit is contained in:
parent
273a0d9596
commit
ddb9a7a7c1
@ -19,9 +19,6 @@
|
|||||||
%define regcat %{_bindir}/sgml-register-catalog
|
%define regcat %{_bindir}/sgml-register-catalog
|
||||||
%define all_cat svg-1.0 svg-1.1
|
%define all_cat svg-1.0 svg-1.1
|
||||||
#
|
#
|
||||||
%define INSTALL_DIR install -d -m755
|
|
||||||
%define INSTALL_DATA install -m644
|
|
||||||
#
|
|
||||||
%define sgml_dir %{_datadir}/sgml
|
%define sgml_dir %{_datadir}/sgml
|
||||||
%define sgml_var_dir %{_localstatedir}/lib/sgml
|
%define sgml_var_dir %{_localstatedir}/lib/sgml
|
||||||
#
|
#
|
||||||
@ -75,7 +72,7 @@ Summary: Documentation of SVG Schemas
|
|||||||
Group: Productivity/Graphics/Other
|
Group: Productivity/Graphics/Other
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
%{summary} in HTML
|
SVG DTD and RELAX NG Schema Documentation in HTML
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
%setup -q -c -T
|
||||||
@ -92,17 +89,17 @@ find -type f | xargs chmod 644
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
# Catalogs:
|
# Catalogs:
|
||||||
%{INSTALL_DIR} %{buildroot}%{xml_sysconf_dir}/catalog.d
|
install -d -m755 %{buildroot}%{xml_sysconf_dir}/catalog.d
|
||||||
#RNG
|
#RNG
|
||||||
%{INSTALL_DIR} %{buildroot}%{xml_mod_rng_dir}/1.1
|
install -d -m755 %{buildroot}%{xml_mod_rng_dir}/1.1
|
||||||
cp rng11/* %{buildroot}%{xml_mod_rng_dir}/1.1
|
cp rng11/* %{buildroot}%{xml_mod_rng_dir}/1.1
|
||||||
#DTD
|
#DTD
|
||||||
%{INSTALL_DIR} %{buildroot}%{xml_mod_dtd_dir}/1.{0,1} \
|
install -d -m755 %{buildroot}%{xml_mod_dtd_dir}/1.{0,1} \
|
||||||
%{buildroot}%{sgml_var_dir} %{buildroot}%{sgml_dir} \
|
%{buildroot}%{sgml_var_dir} %{buildroot}%{sgml_dir} \
|
||||||
%{buildroot}%{_docdir}/%{name}/{1.0,1.1}
|
%{buildroot}%{_docdir}/%{name}/{1.0,1.1}
|
||||||
# Data:
|
# Data:
|
||||||
%{INSTALL_DATA} CATALOG.* %{buildroot}%{sgml_var_dir}
|
install -m644 CATALOG.* %{buildroot}%{sgml_var_dir}
|
||||||
%{INSTALL_DATA} svg-1.[01].xml %{buildroot}%{xml_sysconf_dir}/catalog.d/
|
install -m644 svg-1.[01].xml %{buildroot}%{xml_sysconf_dir}/catalog.d/
|
||||||
|
|
||||||
pushd REC-SVG11-20030114
|
pushd REC-SVG11-20030114
|
||||||
cp -a * %{buildroot}%{_docdir}/%{name}/1.1
|
cp -a * %{buildroot}%{_docdir}/%{name}/1.1
|
||||||
@ -131,7 +128,7 @@ pushd svg-dtd-20010904
|
|||||||
"file://%{xml_mod_rng_dir}/1.1/svg11.rng" %{buildroot}%{xml_sysconf_dir}/catalog.d/svg11-rng.xml
|
"file://%{xml_mod_rng_dir}/1.1/svg11.rng" %{buildroot}%{xml_sysconf_dir}/catalog.d/svg11-rng.xml
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%{INSTALL_DIR} %{buildroot}%{_sysconfdir}/xml
|
install -d -m755 %{buildroot}%{_sysconfdir}/xml
|
||||||
%fdupes %{buildroot}%{_docdir}
|
%fdupes %{buildroot}%{_docdir}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Loading…
Reference in New Issue
Block a user