source: projects/specs/trunk/t/texworks/texworks-vl.spec @ 11335

Revision 11335, 5.0 KB checked in by ara_t, 6 years ago (diff)

texworks: rebuild under poppler-0.61.1

Line 
1#% global gitcommit 905382e
2
3## Summary/Description adopted from Debian with modification
4
5Name:           texworks
6Version:        0.6.1
7Release:        3%{?gitcommit:.git%gitcommit}%{?_dist_release}
8Summary:        An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
9Summary(ja):    TeX ドキュメント制作のための総合環境
10
11Group:          Applications/Editors
12License:        GPLv2+
13URL:            http://tug.org/texworks/
14#Source0:        %{name}-%{version}%{?gitcommit:.git%gitcommit}.tar.%{?gitcommit:xz}%{!?gitcommit:gz}
15Source0:        texworks-release-%{version}.tar.gz
16
17# Desktop file adopted from Debian with modification
18Source1:        %{name}.desktop
19
20## vine
21Patch100:       texworks-0.5-ptex2pdf.patch
22#Patch101:       texworks-0.4.6-addDefaultBinPaths.patch
23
24BuildRequires:  cmake >= 2.8.6
25BuildRequires:  lua-devel
26BuildRequires:  hunspell-devel
27BuildRequires:  dbus-devel
28BuildRequires:  poppler-qt4-devel
29# BuildRequires:  python-devel
30BuildRequires:  desktop-file-utils
31
32BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
33
34Distribution:   Vine
35Vendor:         Project Vine
36Packager:       munepi
37
38
39%description
40TeXworks is an environment for authoring TeX (LaTeX, ConTeXt, etc) documents,
41with a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean,
42simple interface accessible to casual and non-technical users.
43
44You may install the texlive-* packages to make this program useful.
45
46%description -l ja
47TeXworks は TeX (LaTeX, ConTeXt, etc) ドキュメント制作のための総合環境です。
48ユニコードベースで編集する TeX に特化したエディタに、
49PDF プレビュアーが統合されており、不慣れな非技術系のユーザへの
50簡潔で操作しやすいインタフェースを備えています。
51
52TeXworks を利用するためには、TeX 環境が必要です。
53
54
55%prep
56#% setup -qn %{name}-%{version}%{?gitcommit:.git%gitcommit}
57%setup -qn %{name}-release-%{version}
58
59%patch100 -p1 -b .vine
60#% patch101 -p1 -b .vine
61
62%build
63%cmake .
64%__make %{?_smp_mflags}
65
66
67%install
68%__rm -rf %{buildroot}
69%__make install DESTDIR=%{buildroot}
70
71## install document files
72%__mkdir_p %{buildroot}%{_docdir}/%{name}-%{version}
73
74## drop some files
75%__rm -f %{buildroot}%{_datadir}/doc/texworks/COPYING
76%__rm -f %{buildroot}%{_datadir}/doc/texworks/NEWS
77%__rm -f %{buildroot}%{_datadir}/doc/texworks/README.md
78
79
80%clean
81%__rm -rf %{buildroot}
82
83%post
84update-desktop-database &> /dev/null || :
85
86%postun
87update-desktop-database &> /dev/null || :
88
89%files
90%defattr(-,root,root,-)
91%doc COPYING NEWS README.md
92%{_bindir}/%{name}
93%{_usr}/lib/%{name}/lib*.so
94%{_datadir}/applications/%{name}.desktop
95%{_datadir}/appdata/%{name}.appdata.xml
96%{_datadir}/pixmaps/*
97%{_mandir}/man1/texworks.1.gz
98
99%changelog
100* Wed Jan 03 2018 Toshiaki Ara <ara_t@384.jp> 0.6.1-3
101- rebuild under poppler-0.61.1
102
103* Tue Jun 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.1-2
104- rebuilt with new toolchain
105
106* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.1-1
107- new upstream release
108
109* Mon May 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-7.git905382e
110- rebuild with poppler-0.43.0
111
112* Sun Jan 24 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-6.git905382e
113- source snapshot git905382e
114
115* Thu May 28 2015 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-5.git046b6bb
116- source snapshot git046b6bb based on 0.4.6
117
118* Sat Nov  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-4.svn1302
119- dropped R/BR: texlive
120
121* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-3.svn1302
122- source snapshot r1302
123- added BuildRequires: lua-devel
124
125* Fri Mar  9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-2.svn950
126- rebuild with hunspell-devel
127
128* Sun Dec  4 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-1.svn950
129- source snapshot r950
130- updated pdfplatex.sh
131  - support SyncTeX
132- TeX Live 2011
133
134* Fri Jul 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.3-1
135- new upstream release
136- added BuildRequires: texlive-common
137- added Requires: texlive-common
138
139* Sat Jun 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.1-2
140- added some Japanese templates
141
142* Sat Jun 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.1-1
143- new upstream release
144
145* Wed Mar 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.0-1
146- new upstream release
147
148* Fri Dec 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.3-1.svn724
149- source snapshot r724
150
151* Sat Oct 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.3-1.svn671
152- source snapshot r671
153  - dropped obsolete/upstreamed patches
154- added texworks-snapshot.sh
155
156* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.3-1
157- initial build
158
159* Sat Apr 24 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-3
160- Move to menu category 'Office'
161- License tag revised to 'GPLv2+'
162- Initial import to Fedora repositories
163
164* Thu Apr 22 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-2
165- Fix some strange characters in README
166- Patch TeXworks.pro to use qmake mechanism to install files and fix DSO linking
167  problem
168
169* Sun Apr 11 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-1
170- Initial packaging
Note: See TracBrowser for help on using the repository browser.