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

Revision 2998, 4.0 KB checked in by inagaki, 13 years ago (diff)

update: calibre, evince, epdfview, gimp, gambas{2,3}, gnome-commander, inkscape, poppler, pypopper, rcairo, ruby-gnome2, tracker

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