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

Revision 10759, 5.5 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:           epdfview
2Version:        0.1.8
3Release:        9%{?_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* Thu Sep 01 2016 Toshiaki Ara <ara_t@384.jp> - 0.1.8-9
92- rebuild with gcc-5.4.0
93
94* Sat Jul 09 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-8
95- rebuilt with new toolchain
96
97* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-7
98- rebuild with poppler-0.37.0
99
100* Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-6
101- rebuild with poppler-0.26.2
102
103* Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-5
104- rebuild with poppler-0.24.5
105
106* Sat Mar 15 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-4
107- added Patch2 from Debian sid to fix message format
108- added Patch3 to fix build error against cups
109  (it is from https://github.com/Barthalion/aports/blob/master/main/epdfview/epdfview-0.1.8-cups-1.6.patch)
110 
111* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-3
112- rebuild with poppler-0.24.2
113
114* Thu May 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-2
115- rebuilt with poppler-0.18.4
116- added Patch0 from Debian sid to fix build error
117- added Patch1 from Fedora rawhide to fix color channel
118
119* Sun May 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-1
120- new upstream release
121- dropt all patches
122
123* Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.7-6
124- rebuild with krb5-libs-1.8.2
125
126* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.7-5
127- rebuilt with poppler-0.16.3
128- added Patch0
129
130* Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.7-4
131- rebuild with poppler-0.14.2
132
133* Sat Sep 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-3
134- added Patch2 from Debian
135- added BuildRequires:  bison, cppunit-devel
136
137* Thu Sep 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-2
138- added Patch1 from Mandriva to fix mouse scroll
139
140* Sat Aug 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-1
141- initial build for Vine 5
142
143* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-2
144- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
145
146* Thu Mar 26 2009 Michal Schmidt <mschmidt@redhat.com> - 0.1.7-1
147- Upstream release 0.1.7.
148
149* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-8.20081217svn
150- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
151
152* Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-7.20081217svn
153- Add icon.
154
155* Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-6.20081217svn
156- Rebased to current svn snapshot.
157- Fixes bz476575 "epdfview crashes on print pdf". 
158
159* Fri Nov 28 2008 Caolán McNamara <caolanm@redhat.com> - 0.1.6-5
160- rebuild for dependencies
161
162* Sun Aug 31 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-4
163- Fix build with the new RPM.
164
165* Fri Mar 21 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-3
166- Rebuild with new poppler.
167
168* Fri Feb 15 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-2
169- Use standard scriptlets for updating desktop-database.
170- Conditional buildreqs to build on F8 too.
171- Preserve timestamps of unmodified files.
172
173* Wed Feb 13 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-1
174- Initial Fedora package.
Note: See TracBrowser for help on using the repository browser.