|
Lines 1-21
Link Here
|
|
|
1 |
|
| 2 |
%def_disable static |
| 3 |
|
| 1 |
Name: libpoppler |
4 |
Name: libpoppler |
| 2 |
Version: 0.4.5 |
5 |
Version: 0.4.4 |
| 3 |
Release: alt1 |
6 |
Release: alt2 |
| 4 |
|
7 |
|
| 5 |
Summary: PDF rendering library |
|
|
| 6 |
License: LGPL |
| 7 |
Group: System/Libraries |
8 |
Group: System/Libraries |
| 8 |
Url: http://poppler.sourceforge.net/ |
9 |
Summary: PDF rendering library |
| 9 |
Packager: Andrey Semenov <mitrofan@altlinux.ru> |
10 |
License: GPL |
|
|
11 |
Url: http://poppler.freedesktop.org/ |
| 10 |
|
12 |
|
| 11 |
Source: poppler-%version.tar.gz |
13 |
Source: poppler-%version.tar.gz |
|
|
14 |
Patch1: poppler-0.4.4-qt-libs.patch |
| 12 |
|
15 |
|
| 13 |
# Automatically added by buildreq on Wed May 25 2005 |
16 |
# Automatically added by buildreq on Wed Feb 08 2006 |
| 14 |
BuildRequires: fontconfig-devel freetype2-devel gcc-c++ gcc-g77 |
17 |
#BuildRequires: fontconfig-devel freetype2-devel gcc-c++ gcc-g77 glib2-devel glibc-devel-static imake libICE-devel libX11-devel libXt-devel libatk-devel libcairo-devel libg2c-devel libgtk+2-devel libjpeg-devel libpango-devel libqt3-devel libqt4-core libstdc++-devel linux-libc-headers pkg-config xorg-cf-files xorg-x11-proto-devel zlib-devel |
| 15 |
BuildRequires: glib2-devel libatk-devel |
18 |
BuildRequires: fontconfig-devel freetype2-devel gcc-c++ glib2-devel glibc-devel-static |
| 16 |
BuildRequires: libgtk+2-devel libjpeg-devel libpango-devel |
19 |
BuildRequires: xorg-x11-devel libatk-devel libcairo-devel libgtk+2-devel |
| 17 |
BuildRequires: libqt3-devel libstdc++-devel pkgconfig |
20 |
BuildRequires: libjpeg-devel libpango-devel libqt3-devel libstdc++-devel pkg-config zlib-devel |
| 18 |
BuildRequires: xorg-x11-devel zlib-devel |
|
|
| 19 |
|
21 |
|
| 20 |
%description |
22 |
%description |
| 21 |
Poppler is a fork of the xpdf PDF viewer developed by Derek Noonburg |
23 |
Poppler is a fork of the xpdf PDF viewer developed by Derek Noonburg |
|
Lines 32-85
base to the world, we hope that over tim
Link Here
|
| 32 |
adopt poppler. After all, we only need one application to use poppler |
34 |
adopt poppler. After all, we only need one application to use poppler |
| 33 |
to break even. |
35 |
to break even. |
| 34 |
|
36 |
|
|
|
37 |
%package -n %name-qt |
| 38 |
Summary: Qt3 frontend library for %name |
| 39 |
Group: System/Libraries |
| 40 |
Requires: %name = %version-%release |
| 41 |
%description -n %name-qt |
| 42 |
Qt3 frontend library for %name |
| 35 |
|
43 |
|
| 36 |
%package -n %name-devel |
44 |
%package -n %name-glib |
| 37 |
Summary: Libraries, includes, etc. to develop poppler applications |
45 |
Summary: Glib frontend library for %name |
| 38 |
Group: System/Libraries |
46 |
Group: System/Libraries |
| 39 |
Requires: %name = %version |
47 |
Requires: %name = %version-%release |
|
|
48 |
%description -n %name-glib |
| 49 |
Glib frontend library for %name |
| 40 |
|
50 |
|
|
|
51 |
%package -n %name-devel |
| 52 |
Summary: Development files for %name |
| 53 |
Group: Development/C |
| 54 |
Requires: %name = %version-%release |
| 41 |
%description -n %name-devel |
55 |
%description -n %name-devel |
| 42 |
Libraries, include files, etc you can use to develop poppler applications. |
56 |
Libraries, include files, etc you can use to develop poppler applications |
|
|
57 |
|
| 58 |
%package -n %name-glib-devel |
| 59 |
Summary: Development files for %name-glib |
| 60 |
Group: Development/GNOME and GTK+ |
| 61 |
Requires: %name-devel = %version-%release |
| 62 |
%description -n %name-glib-devel |
| 63 |
Libraries, include files, etc you can use to develop |
| 64 |
poppler applications with Glib/Gtk+ |
| 65 |
|
| 66 |
%package -n %name-qt-devel |
| 67 |
Summary: Development files for %name-qt |
| 68 |
Group: Development/KDE and QT |
| 69 |
Requires: %name-devel = %version-%release |
| 70 |
%description -n %name-qt-devel |
| 71 |
Libraries, include files, etc you can use to develop |
| 72 |
poppler applications with Qt3 |
| 43 |
|
73 |
|
| 44 |
%package -n %name-devel-static |
74 |
%package -n %name-devel-static |
| 45 |
Summary: Static libraries for libpoppler |
75 |
Summary: Static libraries for libpoppler |
| 46 |
Group: System/Libraries |
76 |
Group: Development/Other |
| 47 |
PreReq: %name-devel = %version-%release |
77 |
Requires: %name-devel = %version-%release |
| 48 |
License: GPL |
78 |
Requires: %name-qt-devel = %version-%release |
| 49 |
|
79 |
Requires: %name-glib-devel = %version-%release |
| 50 |
%description -n %name-devel-static |
80 |
%description -n %name-devel-static |
| 51 |
This package contains development libraries required for packaging |
81 |
This package contains development libraries required for packaging |
| 52 |
statically linked libpoppler-based software. |
82 |
statically linked libpoppler-based software |
|
|
83 |
|
| 53 |
|
84 |
|
| 54 |
%prep |
85 |
%prep |
| 55 |
%setup -q -n poppler-%version |
86 |
%setup -q -n poppler-%version |
|
|
87 |
%patch1 -p1 |
| 88 |
%__autoreconf |
| 89 |
|
| 56 |
|
90 |
|
| 57 |
%build |
91 |
%build |
| 58 |
%configure |
92 |
%configure \ |
|
|
93 |
--disable-rpath \ |
| 94 |
%{subst_enable static} \ |
| 95 |
--enable-shared \ |
| 96 |
--enable-dependency-tracking \ |
| 97 |
--enable-compile-warnings=yes \ |
| 98 |
--enable-zlib \ |
| 99 |
--enable-a4-paper |
| 100 |
|
| 59 |
%make_build |
101 |
%make_build |
| 60 |
|
102 |
|
|
|
103 |
|
| 61 |
%install |
104 |
%install |
| 62 |
%makeinstall |
105 |
%makeinstall |
| 63 |
|
106 |
|
| 64 |
%post -n %name -p %post_ldconfig |
|
|
| 65 |
|
107 |
|
|
|
108 |
%post -n %name -p %post_ldconfig |
| 66 |
%postun -n %name -p %postun_ldconfig |
109 |
%postun -n %name -p %postun_ldconfig |
|
|
110 |
# |
| 111 |
%post -n %name-qt -p %post_ldconfig |
| 112 |
%postun -n %name-qt -p %postun_ldconfig |
| 113 |
# |
| 114 |
%post -n %name-glib -p %post_ldconfig |
| 115 |
%postun -n %name-glib -p %postun_ldconfig |
| 116 |
|
| 67 |
|
117 |
|
| 68 |
%files -n %name |
118 |
%files -n %name |
| 69 |
%doc AUTHORS ChangeLog INSTALL NEWS README TODO |
119 |
%doc AUTHORS ChangeLog NEWS README* TODO |
| 70 |
%_libdir/libpoppler*.so.* |
120 |
%_libdir/libpoppler.so.* |
|
|
121 |
|
| 122 |
%files -n %name-glib |
| 123 |
%_libdir/libpoppler-glib.so.* |
| 124 |
|
| 125 |
%files -n %name-qt |
| 126 |
%_libdir/libpoppler-qt.so.* |
| 71 |
|
127 |
|
| 72 |
%files -n %name-devel |
128 |
%files -n %name-devel |
| 73 |
%_includedir/poppler |
129 |
%_includedir/poppler |
| 74 |
%_libdir/*.so |
130 |
%_libdir/*.so |
| 75 |
%_libdir/pkgconfig/*.pc |
131 |
%_libdir/pkgconfig/poppler.pc |
|
|
132 |
%_libdir/pkgconfig/poppler-splash.pc |
| 76 |
|
133 |
|
|
|
134 |
%files -n %name-glib-devel |
| 135 |
%_includedir/poppler |
| 136 |
%_libdir/*.so |
| 137 |
%_libdir/pkgconfig/poppler-cairo.pc |
| 138 |
%_libdir/pkgconfig/poppler-glib.pc |
| 139 |
|
| 140 |
%files -n %name-qt-devel |
| 141 |
%_includedir/poppler |
| 142 |
%_libdir/*.so |
| 143 |
%_libdir/pkgconfig/poppler-qt.pc |
| 144 |
|
| 145 |
%if_enabled static |
| 77 |
%files -n %name-devel-static |
146 |
%files -n %name-devel-static |
| 78 |
%_libdir/*.a |
147 |
%_libdir/*.a |
|
|
148 |
%endif |
| 79 |
|
149 |
|
| 80 |
%changelog |
150 |
%changelog |
| 81 |
* Sat Feb 11 2006 Andrey Semenov <mitrofan@altlinux.ru> 0.4.5-alt1 |
151 |
* Wed Feb 08 2006 Sergey V Turchin <zerg at altlinux dot org> 0.4.4-alt2 |
| 82 |
- 0.4.5 |
152 |
- fix linking with qt |
|
|
153 |
- split qt,glib,devel libraries to subpackages |
| 154 |
- fix %%url |
| 155 |
- fix requires |
| 156 |
- fix build requires |
| 157 |
|
| 158 |
* Thu Feb 02 2006 ALT QA Team Robot <qa-robot@altlinux.org> 0.4.4-alt1.1 |
| 159 |
- Rebuilt for new pkg-config dependencies. |
| 83 |
|
160 |
|
| 84 |
* Wed Jan 11 2006 Andrey Semenov <mitrofan@altlinux.ru> 0.4.4-alt1 |
161 |
* Wed Jan 11 2006 Andrey Semenov <mitrofan@altlinux.ru> 0.4.4-alt1 |
| 85 |
- new version |
162 |
- new version |