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

Revision 10266, 4.6 KB checked in by Takemikaduchi, 8 years ago (diff)

ImageMagick?,gtk2,gtk3,poppler,qt4: new upstream release
others: rebuild

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