Package alt-entities: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | Name: alt-entities
Version: 0.12
Release: alt1
Group: Publishing
Summary: XML Entities and DTD for ALT Linux Documentation Project
License: Distributable
Url: http://docs.altlinux.ru
PreReq: xml-common xml-utils sgml-common
Source0: http://docs.altlinux.ru/%name-%version.tar.bz2
BuildArch: noarch
%define xmlconfdir %_sysconfdir/xml
%define altentdir %_datadir/xml/alt-entities
%define catalog %xmlconfdir/catalog
%description
XML entities and DTD for ALT Linux Documentation Project,
used for making documentation in DocBook/XML format.
%description -l ru_RU.CP1251
XML entities (\xf1\xf3\xf9\xed\xee\xf1\xf2\xe8, \xef\xe5\xf0\xe5\xec\xe5\xed\xed\xfb\xe5) \xe8 DTD, \xe8\xf1\xef\xee\xeb\xfc\xe7\xf3\xe5\xec\xfb\xe5 \xe2 \xef\xf0\xee\xe5\xea\xf2\xe5
ALT Linux Documentation \xe4\xeb\xff \xf1\xee\xe7\xe4\xe0\xed\xe8\xff \xe4\xee\xea\xf3\xec\xe5\xed\xf2\xe0\xf6\xe8\xe8 \xe2 \xf4\xee\xf0\xec\xe0\xf2\xe5
DocBook/XML.
%prep
%setup
%build
%install
%__mkdir -p %buildroot%altentdir
%__cp -a persons %buildroot%altentdir
%__mkdir -p %buildroot%altentdir/ru/entities
%__cp -a entities/*.ent %buildroot%altentdir/ru/entities
%__cp -a entities/catalog.xml %buildroot%altentdir
%__cp -a entities/catalog.sgml %buildroot%altentdir
%__cp -a dtd %buildroot%altentdir
%__mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d
%__cp -a alt-entities.ignore.buildreq %buildroot%_sysconfdir/buildreqs/files/ignore.d/alt-entities
# FIXME: add ChangeLog (building from cvs)
%files
%doc entities/README
%altentdir
%_sysconfdir/buildreqs/files/ignore.d/alt-entities
%post
if [ $1 = 1 ] ; then
/usr/bin/xmlcatalog --noout --add "nextCatalog" \
"file://%altentdir/catalog.xml" \
"" \
%catalog ||:
/usr/bin/xmlcatalog --noout --sgml --add "%altentdir/catalog.sgml" ||:
fi
%postun
if [ $1 = "0" ] ; then
/usr/bin/xmlcatalog --noout --del \
"file://%altentdir/catalog.xml" \
%catalog ||:
/usr/bin/xmlcatalog --noout --sgml --del /etc/sgml/catalog "%altentdir/catalog.sgml" ||:
fi
%triggerpostun -- alt-entities = 0.1-alt1
/usr/bin/xmlcatalog --noout --add "nextCatalog" \
"file://%altentdir/catalog.xml" \
"" \
%catalog ||:
%triggerpostun -- alt-entities = 0.2-alt3
/usr/bin/xmlcatalog --noout --del \
"file://%altentdir/catalog.xml" \
%catalog ||:
/usr/bin/xmlcatalog --noout --add "nextCatalog" \
"file://%altentdir/catalog.xml" \
"" \
%catalog ||:
%changelog
* Tue Oct 09 2007 Vitaly A. Ostanin <vyt@altlinux.ru> 0.12-alt1
- Fixed OpenOffice.org entities (#13058)
* Mon Aug 06 2007 Vitaly A. Ostanin <vyt@altlinux.ru> 0.11-alt1
- 0.11 (added WINVISTA in common.ent)
* Fri May 04 2007 Vitaly A. Ostanin <vyt@altlinux.ru> 0.10-alt1
- 0.10 (fixed links in common.ent)
* Mon Jun 28 2004 Vitaly A. Ostanin <vyt@altlinux.ru> 0.9-alt1
- 0.9 release (new entities, make persons.xml valid)
* Fri Mar 12 2004 Vyt <vyt@altlinux.ru> 0.8-alt1
- 0.8 release
- updated common.ent
- updated persons.xml (added 'olpa', 'tibor', 'dmitryg', 'oes', 'oddity', 'wrar',
'hmepas', 'canis', 'peet', 'ilar', 'kas', 'dav', 'warframe', 'past', 'horror',
'mutabor', 'vk', 'brun')
- Added catalog.sgml for using with emacs-psgml-mode
* Thu Oct 9 2003 Vyt <vyt@altlinux.ru> 0.7-alt1
- 0.7 release
- Added catalog.sgml for using with emacs-psgml-mode
* Wed Sep 10 2003 Vyt <vyt@altlinux.ru> 0.6-alt2
- Fixed path to buildreq file
* Wed Sep 10 2003 Vyt <vyt@altlinux.ru> 0.6-alt1
- 0.6 release
- Added file for ignoring alt-entities from /etc/xml/catalog lockups (tnx to MhZ)
* Fri Aug 8 2003 Vyt <vyt@altlinux.ru> 0.5-alt1
- 0.5 release
* Mon May 19 2003 Vyt <vyt@altlinux.ru> 0.4-alt1
- 0.4 (added DTD DocBook customization)
- build from official tarball
* Wed Feb 12 2003 Vyt <vyt@altlinux.ru> 0.3-alt1
- 0.3 (added persons.xml and dtd)
- Moved to 'nextCatalog' catalogs resolution
* Fri Jan 24 2003 Vyt <vyt@altlinux.ru> 0.2-alt3
- Fixed numbering in changelog
* Fri Nov 29 2002 Vyt <vyt@altlinux.ru> 0.2-alt2
- added triggerpostun script (thanks to Sergey Vlasov).
Now update worked automatically
* Thu Nov 28 2002 Vyt <vyt@altlinux.ru> 0.2-alt1
- 0.2 (added keys.ent)
- fixed postun script (thanks to Alexander Bokovoy).
For update from 0.1-alt1 you should reinstall 0.2-alt1 after update :(
* Wed Sep 19 2002 Vyt <vyt@altlinux.ru> 0.1-alt1
- 0.1
- First build for Sisyphus
|