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

Revision 3263, 4.1 KB checked in by Takemikaduchi, 13 years ago (diff)

epdfview: rebuild, libgail-gnome: new package, others: new upstream release

Line 
1Name:           epdfview
2Version:        0.1.7
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
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* Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.7-6
86- rebuild with krb5-libs-1.8.2
87
88* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.7-5
89- rebuilt with poppler-0.16.3
90- added Patch0
91
92* Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.7-4
93- rebuild with poppler-0.14.2
94
95* Sun Sep 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-3
96- added Patch2 from Debian
97- added BuildRequires:  bison, cppunit-devel
98
99* Thu Sep 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-2
100- added Patch1 from Mandriva to fix mouse scroll
101
102* Sat Aug 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-1
103- initial build for Vine 5
104
105* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-2
106- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
107
108* Thu Mar 26 2009 Michal Schmidt <mschmidt@redhat.com> - 0.1.7-1
109- Upstream release 0.1.7.
110
111* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-8.20081217svn
112- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
113
114* Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-7.20081217svn
115- Add icon.
116
117* Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-6.20081217svn
118- Rebased to current svn snapshot.
119- Fixes bz476575 "epdfview crashes on print pdf". 
120
121* Fri Nov 28 2008 Caolán McNamara <caolanm@redhat.com> - 0.1.6-5
122- rebuild for dependencies
123
124* Fri Aug 31 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-4
125- Fix build with the new RPM.
126
127* Fri Mar 21 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-3
128- Rebuild with new poppler.
129
130* Fri Feb 15 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-2
131- Use standard scriptlets for updating desktop-database.
132- Conditional buildreqs to build on F8 too.
133- Preserve timestamps of unmodified files.
134
135* Wed Feb 13 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-1
136- Initial Fedora package.
Note: See TracBrowser for help on using the repository browser.