Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
8062c89b51
!33 [sync] PR-18: 【轻量级 PR】:Change bogus date
From: @openeuler-sync-bot 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2024-04-01 02:28:19 +00:00
zhangshaoning
3b2d79cbc6 Change bogus date
(cherry picked from commit 86b67d9ad43abdeeee05f27c4119a1639bacaf0b)
2024-04-01 09:56:05 +08:00
openeuler-ci-bot
72d81006ca
!32 回退 'Pull Request !29 : Change bogus date'
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-04-01 01:52:45 +00:00
xu_ping
01b07a2bd3
回退 'Pull Request !29 : Change bogus date' 2024-03-29 07:16:24 +00:00
openeuler-ci-bot
9869947007
!29 Change bogus date
From: @yueyaoqiang 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2024-03-28 09:25:37 +00:00
openeuler-ci-bot
07d9950b88
!18 【轻量级 PR】:Change bogus date
From: @zhangshaoning_uniontech 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-05-18 02:07:05 +00:00
zhangshaoning
86b67d9ad4
Change bogus date 2022-05-18 01:41:24 +00:00
openeuler-ci-bot
0335fabb6b !2 add yaml file
Merge pull request !2 from ultra_planet/master
2020-05-09 20:33:32 +08:00
ultra_planet
9e0f759cf9 add yaml file 2020-05-09 09:35:33 +08:00
openeuler-ci-bot
664cc24dd0 !1 add code
Merge pull request !1 from wisdoman/master
2020-01-10 11:15:29 +08:00
wisdoman
359b56525a add code 2020-01-10 10:58:30 +08:00
4 changed files with 66 additions and 0 deletions

9
TeXamator.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Name=TeXamator
GenericName=TeXamator
Type=Application
Comment=Helping one deal with an exercises database
Categories=Education;
Exec=TeXamator
Icon=/usr/share/TeXamator/ui_files/icones/TeXamator.png
Terminal=false

53
TeXamator.spec Normal file
View File

@ -0,0 +1,53 @@
Name: TeXamator
Version: 1.7.5
Release: 12
Summary: Helping one deal with an exercises database
License: GPLv3
URL: http://alexisfles.ch/en/texamator/texamator.html
Source0: http://alexisfles.ch/files/TeXamator/TeXamator.v.%{version}.tar.gz
Source1: TeXamator.desktop
BuildArch: noarch
BuildRequires: desktop-file-utils
Requires: tex(latex) dvipng
%description
TeXamator is designed at helping one deal with an exercises database (hence the name (t)exam-ator).
Once configured, it will open all your .tex files in a given directory (recursively) and look for
exercises (or anything you want it to). Then, it will show you everything in a tree and let you
expand/collapse folders.Finally, you will be able to export all the exercises you selected to a
.tex file or to a pdf.
%prep
%autosetup -n %{name} -p1
find -name '*~' -delete
%build
%install
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_datadir}/TeXamator
install -p TeXamator.py %{buildroot}%{_datadir}/TeXamator/TeXamator.py
cp -rp partielatormods %{buildroot}%{_datadir}/TeXamator
cp -rp ts_files %{buildroot}%{_datadir}/TeXamator
cp -rp ui_files %{buildroot}%{_datadir}/TeXamator
ln -s %{_datadir}/TeXamator/TeXamator.py %{buildroot}%{_bindir}/TeXamator
sed -i -e '/\/usr\/bin\/python/d' %{buildroot}%{_datadir}/TeXamator/partielatormods/*.py
for lib in %{buildroot}%{_datadir}/TeXamator/partielatormods/*/*.py; do
sed '/\/usr\/bin\/python/d' $lib > $lib.new && touch -r $lib $lib.new && mv $lib.new $lib
done
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
desktop-file-validate %{buildroot}/%{_datadir}/applications/TeXamator.desktop
%files
%doc README gpl-3.0.txt
%{_bindir}/TeXamator
%{_datadir}/TeXamator
%{_datadir}/applications/TeXamator.desktop
%exclude %{_datadir}/TeXamator/ui_files/plop.sh
%changelog
* Wed May 18 2022 zhangshaoning <zhangshaoning@uniontech.com> - 1.7.5-12
- Change bogus date
* Wed Jan 8 2019 Tianfei <tianfei16@huawei.com> - 1.7.5-11
- Package init

BIN
TeXamator.v.1.7.5.tar.gz Normal file

Binary file not shown.

4
TeXamator.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: alexisflesch/texamator
tag_prefix: ^
seperator: .