source: projects/specs/branches/6/e/epdfview/epdfview-vl.spec @ 3984

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