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

Revision 521, 3.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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