## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 24; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: tralics Version: 2.15.4 Release: %autorelease Summary: LaTeX to XML translator # Automatically converted from old format: CeCILL - review is highly recommended. License: CECILL-2.1 URL: https://www-sop.inria.fr/marelle/tralics/ Source0: ftp://ftp-sop.inria.fr/marelle/tralics/src/%{name}-src-%{version}.tar.gz Patch0: testkeyval.diff BuildRequires: make BuildRequires: gcc-c++ BuildRequires: texlive-collection-latexextra %description Tralics is a free software whose purpose is to convert a LaTeX document into an XML file. It is used since 2002 for instance to produce the INRIA's annual activity report. %prep %autosetup -p1 for f in Licence_CeCILL_V2-en.txt ChangeLog do iconv -f ISO-8859-15 -t utf-8 \ ${f} > ${f}.conv && \ touch -r ${f} ${f}.conv && \ mv -f ${f}.conv ${f} done sed -i 's|tralics $(OBJECTS)|tralics $(OBJECTS) $(LDFLAGS)|' src/Makefile %build %make_build -C src/ CPPFLAGS="%{optflags} \ -DTRALICSDIR=\\\"%{_datadir}/%{name}\\\" \ -DCONFDIR=\\\"%{_sysconfdir}/%{name}\\\"" \ LDFLAGS="%{?__global_ldflags}" %install rm -frv confdir/{README,COPYING} install -pDm755 src/%{name} %{buildroot}%{_bindir}/%{name} mkdir -p %{buildroot}%{_datadir}/%{name} install -pm644 confdir/* %{buildroot}%{_datadir}/%{name}/ %check cd Test && ./alltests %files %doc ChangeLog README %license COPYING Copyright Licence_CeCILL_V2-en.txt %{_bindir}/%{name} %{_datadir}/%{name}/ %changelog ## START: Generated by rpmautospec * Sat Sep 28 2024 Zbigniew Jędrzejewski-Szmek - 2.15.4-24 - Convert license tag to SPDX * Wed Sep 04 2024 Miroslav Suchý - 2.15.4-19 - convert license to SPDX * Sat Jul 20 2024 Fedora Release Engineering - 2.15.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 2.15.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 2.15.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 2.15.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.15.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 2.15.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.15.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.15.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.15.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 2.15.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 2.15.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 2.15.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.15.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 2.15.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 2.15.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.15.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.15.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Mar 7 2016 Zbigniew Jędrzejewski-Szmek - 2.15.4-1 - Update to latest version (#1274713) * Fri Feb 05 2016 Fedora Release Engineering - 2.15.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Aug 11 2015 Christopher Meng - 2.15.3-1 - Update to 2.15.3 * Fri Jun 19 2015 Fedora Release Engineering - 2.15.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 2.15.2-2 - Rebuilt for GCC 5 C++11 ABI change * Fri Jan 23 2015 Christopher Meng - 2.15.2-1 - Update to 2.15.2 * Mon Aug 18 2014 Fedora Release Engineering - 2.15.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 2.15.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Oct 25 2013 Christopher Meng - 2.15.1-3 - Pass proper flags to make. - Fix UTF issues of docs. * Mon Oct 07 2013 Christopher Meng - 2.15.1-2 - Move files to /usr/share so it can be found by other programs. * Mon Jul 29 2013 Christopher Meng - 2.15.1-1 - Initial Package. ## END: Generated by rpmautospec