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

Revision 9791, 5.3 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

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