source: projects/specs/trunk/e/epdfview/epdfview-vl.spec @ 8771

Revision 8771, 5.2 KB checked in by Takemikaduchi, 10 years ago (diff)

poppler-0.26.2

Line 
1Name:           epdfview
2Version:        0.1.8
3Release:        6%{?_dist_release}
4Summary:        Lightweight PDF document viewer
5Summary(ja):    軽量な PDF ドキュメントビューア
6
7Group:          Applications/Publishing
8License:        GPLv2+
9URL:            http://trac.emma-soft.com/epdfview
10Source0:        http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2
11#Patch0:                epdfview-poppler-0.16.patch
12#Patch1:                epdfview-0.1.7-fix-mouse-scroll.patch
13#Patch2:                03_nonexisting-file.patch
14Patch0:         02_glib-single-include.patch
15Patch1:         epdfview-0.1.8-swap-colors-with-poppler-0.18.patch
16Patch2:         06_fix-format.patch
17Patch3:         epdfview-0.1.8-cups-1.6.patch
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20
21BuildRequires:  poppler-devel
22BuildRequires:  gtk2-devel glib2-devel cups-devel
23BuildRequires:  bison cppunit-devel
24BuildRequires:  desktop-file-utils
25BuildRequires:  autoconf automake libtool gettext
26
27%description
28ePDFView is a lightweight PDF document viewer using Poppler and GTK+ libraries.
29The aim of ePDFView is to make a simple PDF document viewer, in the lines of
30Evince but without using the Gnome libraries.
31
32%description -l ja
33ePDFView は Poppler と GTK+ ライブラリを用いた軽量な PDF ドキュメントビューアです。
34ePDFView の狙いは Evince の流れをくみつつも Gnome ライブラリを使用することなく
35シンプルな PDF ドキュメントビューアを作成することにあります。
36
37%prep
38%setup -q
39%patch0 -p1
40%patch1 -p0
41%patch2 -p1
42%patch3 -p1
43
44%build
45# making null ChangeLog to avoid failure at autoreconf
46touch ChangeLog
47#autoreconf -f -i
48%configure
49make %{?_smp_mflags}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
54
55desktop-file-install \
56        --dir=%{buildroot}%{_datadir}/applications \
57        --vendor=vine \
58        --delete-original \
59        --remove-category Office \
60        --add-category Graphics \
61        %{buildroot}/%{_datadir}/applications/%{name}.desktop
62
63install -dm 755 %{buildroot}/%{_datadir}/pixmaps
64pushd %{buildroot}/%{_datadir}/pixmaps
65ln -s ../%{name}/pixmaps/icon_epdfview-48.png .
66popd
67
68%find_lang %{name}
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post
74update-desktop-database &> /dev/null || :
75
76%postun
77update-desktop-database &> /dev/null || :
78
79%files -f %{name}.lang
80%defattr(-,root,root,-)
81%{_bindir}/%{name}
82%doc AUTHORS COPYING README NEWS THANKS
83%{_datadir}/applications/*%{name}.desktop
84%dir %{_datadir}/%{name}
85%{_datadir}/%{name}/pixmaps
86%{_datadir}/%{name}/ui
87%{_datadir}/pixmaps/icon_epdfview-48.png
88%{_mandir}/man1/
89
90%changelog
91* Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-6
92- rebuild with poppler-0.26.2
93
94* Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-5
95- rebuild with poppler-0.24.5
96
97* Sat Mar 15 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-4
98- added Patch2 from Debian sid to fix message format
99- added Patch3 to fix build error against cups
100  (it is from https://github.com/Barthalion/aports/blob/master/main/epdfview/epdfview-0.1.8-cups-1.6.patch)
101 
102* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-3
103- rebuild with poppler-0.24.2
104
105* Thu May 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-2
106- rebuilt with poppler-0.18.4
107- added Patch0 from Debian sid to fix build error
108- added Patch1 from Fedora rawhide to fix color channel
109
110* Sun May 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-1
111- new upstream release
112- dropt all patches
113
114* Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.7-6
115- rebuild with krb5-libs-1.8.2
116
117* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.7-5
118- rebuilt with poppler-0.16.3
119- added Patch0
120
121* Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.7-4
122- rebuild with poppler-0.14.2
123
124* Sat Sep 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-3
125- added Patch2 from Debian
126- added BuildRequires:  bison, cppunit-devel
127
128* Thu Sep 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-2
129- added Patch1 from Mandriva to fix mouse scroll
130
131* Sat Aug 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-1
132- initial build for Vine 5
133
134* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-2
135- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
136
137* Thu Mar 26 2009 Michal Schmidt <mschmidt@redhat.com> - 0.1.7-1
138- Upstream release 0.1.7.
139
140* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-8.20081217svn
141- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
142
143* Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-7.20081217svn
144- Add icon.
145
146* Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-6.20081217svn
147- Rebased to current svn snapshot.
148- Fixes bz476575 "epdfview crashes on print pdf". 
149
150* Fri Nov 28 2008 Caolán McNamara <caolanm@redhat.com> - 0.1.6-5
151- rebuild for dependencies
152
153* Sun Aug 31 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-4
154- Fix build with the new RPM.
155
156* Fri Mar 21 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-3
157- Rebuild with new poppler.
158
159* Fri Feb 15 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-2
160- Use standard scriptlets for updating desktop-database.
161- Conditional buildreqs to build on F8 too.
162- Preserve timestamps of unmodified files.
163
164* Wed Feb 13 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-1
165- Initial Fedora package.
Note: See TracBrowser for help on using the repository browser.