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

Revision 10407, 4.9 KB checked in by munepi, 8 years ago (diff)

rebuilt with new toolchain

Line 
1#% global gitcommit 905382e
2
3## Summary/Description adopted from Debian with modification
4
5Name:           texworks
6Version:        0.6.1
7Release:        2%{?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* Tue Jun 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.1-2
101- rebuilt with new toolchain
102
103* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.1-1
104- new upstream release
105
106* Mon May 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-7.git905382e
107- rebuild with poppler-0.43.0
108
109* Sun Jan 24 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-6.git905382e
110- source snapshot git905382e
111
112* Thu May 28 2015 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-5.git046b6bb
113- source snapshot git046b6bb based on 0.4.6
114
115* Sat Nov  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-4.svn1302
116- dropped R/BR: texlive
117
118* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-3.svn1302
119- source snapshot r1302
120- added BuildRequires: lua-devel
121
122* Fri Mar  9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-2.svn950
123- rebuild with hunspell-devel
124
125* Sun Dec  4 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-1.svn950
126- source snapshot r950
127- updated pdfplatex.sh
128  - support SyncTeX
129- TeX Live 2011
130
131* Fri Jul 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.3-1
132- new upstream release
133- added BuildRequires: texlive-common
134- added Requires: texlive-common
135
136* Sat Jun 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.1-2
137- added some Japanese templates
138
139* Sat Jun 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.1-1
140- new upstream release
141
142* Wed Mar 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.0-1
143- new upstream release
144
145* Fri Dec 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.3-1.svn724
146- source snapshot r724
147
148* Sat Oct 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.3-1.svn671
149- source snapshot r671
150  - dropped obsolete/upstreamed patches
151- added texworks-snapshot.sh
152
153* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.3-1
154- initial build
155
156* Sat Apr 24 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-3
157- Move to menu category 'Office'
158- License tag revised to 'GPLv2+'
159- Initial import to Fedora repositories
160
161* Thu Apr 22 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-2
162- Fix some strange characters in README
163- Patch TeXworks.pro to use qmake mechanism to install files and fix DSO linking
164  problem
165
166* Sun Apr 11 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-1
167- Initial packaging
Note: See TracBrowser for help on using the repository browser.