Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:keichwa:Factory
tei-roma
tei-roma.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tei-roma.spec of Package tei-roma
# # spec file for package tei-roma # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: tei-roma Summary: TEI Schema or DTD Generator Version: 2.11 Release: 0 License: GPL-2.0-or-later Group: Productivity/Publishing/XML Source0: http://ftp1.sourceforge.net/sourceforge/tei/tei-roma-%{version}.zip Patch0: roma-dir.diff # PATCH-FIX-OPENSUSE tei-roma-2.11-fix-race.patch bmwiedemann@opensuse Patch1: tei-roma-2.11-fix-race.patch URL: http://www.tei-c.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: /usr/bin/xsltproc Requires: perl Requires: trang BuildRequires: unzip %description Roma is a shell script and XSL stylesheets for building a customized TEI schema or DTD. It uses xsltproc, trang, and Perl. %define INSTALL install -m755 -s %define INSTALL_SCRIPT install -m755 %define INSTALL_DIR install -d -m755 %define INSTALL_DATA install -m644 %define xml_dir %{_datadir}/xml %define xml_mod_dir %{xml_dir}/tei %define xml_mod_style_dir %{xml_mod_dir} %define xml_mod_style_prod_dir %{xml_mod_style_dir}/rahtz %define xml_mod_style_prod_ver_dir %{xml_mod_style_prod_dir}/%{version} %prep %autosetup -p1 /bin/chmod -Rf a+rX,g-w,o-w . %build %install %{INSTALL_DIR} $RPM_BUILD_ROOT%{xml_mod_dir} make release (cd release; tar cf - . ) | (cd $RPM_BUILD_ROOT/%{xml_mod_dir}; tar xf - ) mkdir -p $RPM_BUILD_ROOT%{_bindir} \ $RPM_BUILD_ROOT%{_mandir}/man1 %{INSTALL_SCRIPT} roma.sh $RPM_BUILD_ROOT%{_bindir}/roma cp -p roma.1 $RPM_BUILD_ROOT%{_mandir}/man1 # chmod 755 $RPM_BUILD_ROOT%{_bindir}/roma %clean rm -fr $RPM_BUILD_ROOT %files %defattr(644, root, root, 755) %dir %{xml_mod_dir} %attr(755, root, root) %{xml_mod_dir}/%name/roma.sh %attr(755, root, root) %{xml_mod_dir}/%name/roma/res/merge.pl %{xml_mod_dir}/tei-roma %attr(755, root, root) %{_bindir}/roma %{_mandir}/man1/roma* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor