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

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