]>
Commit | Line | Data |
---|---|---|
696fdb87 | 1 | %define _snap 20060308 |
5c448f38 | 2 | Summary: pdf viewer using Enlightenment libraries |
a917aebd | 3 | Summary(pl.UTF-8): Przeglądarka PDF-ów używająca bibliotek Enlightenmenta |
5c448f38 | 4 | Name: epdf |
5 | Version: 0.1 | |
5c448f38 | 6 | Release: 0.%{_snap}.1 |
7 | License: BSD | |
eabe64b0 | 8 | Group: X11/Applications/Graphics |
5c448f38 | 9 | Source0: http://sparky.homelinux.org/snaps/enli/e17/proto/%{name}-%{_snap}.tar.bz2 |
696fdb87 | 10 | # Source0-md5: d86a1040135d6b6b63335f1513afbed5 |
5c448f38 | 11 | URL: http://enlightenment.org/ |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: etk-devel | |
15 | BuildRequires: ewl-devel | |
16 | BuildRequires: libtool | |
17 | BuildRequires: poppler-devel >= 0.5.0-3 | |
18 | Requires: %{name}-libs = %{version}-%{release} | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | epdf is an image pdf using Enlightenment libraries. | |
23 | ||
af9d7e0a JR |
24 | %description -l pl.UTF-8 |
25 | epdf to przeglądarka PDF-ów używająca bibliotek Enlightenmenta. | |
5c448f38 | 26 | |
27 | %package libs | |
28 | Summary: epdf library | |
a917aebd | 29 | Summary(pl.UTF-8): Biblioteka epdf |
5c448f38 | 30 | Group: Libraries |
31 | ||
32 | %description libs | |
33 | epdf library. | |
34 | ||
af9d7e0a | 35 | %description libs -l pl.UTF-8 |
5c448f38 | 36 | Biblioteka epdf. |
37 | ||
38 | %package devel | |
39 | Summary: Header files for epdf library | |
a917aebd | 40 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki epdf |
5c448f38 | 41 | Group: Development/Libraries |
42 | Requires: %{name}-libs = %{version}-%{release} | |
43 | ||
44 | %description devel | |
45 | This is the package containing the header files for epdf library. | |
46 | ||
af9d7e0a JR |
47 | %description devel -l pl.UTF-8 |
48 | Ten pakiet zawiera pliki nagłówkowe biblioteki epdf. | |
5c448f38 | 49 | |
50 | %package static | |
51 | Summary: Static epdf library | |
a917aebd | 52 | Summary(pl.UTF-8): Statyczna biblioteka epdf |
5c448f38 | 53 | Group: Development/Libraries |
54 | Requires: %{name}-devel = %{version}-%{release} | |
55 | ||
56 | %description static | |
57 | Static epdf library. | |
58 | ||
af9d7e0a | 59 | %description static -l pl.UTF-8 |
5c448f38 | 60 | Statyczna biblioteka epdf |
61 | ||
62 | %prep | |
63 | %setup -q -n %{name} | |
64 | ||
65 | %build | |
66 | %{__libtoolize} | |
67 | %{__aclocal} -I m4 | |
68 | %{__autoconf} | |
69 | %{__autoheader} | |
70 | %{__automake} | |
71 | %configure | |
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
8b343997 JB |
83 | %post libs -p /sbin/ldconfig |
84 | %postun libs -p /sbin/ldconfig | |
5c448f38 | 85 | |
86 | %files | |
87 | %defattr(644,root,root,755) | |
88 | %doc AUTHORS ChangeLog README | |
89 | %attr(755,root,root) %{_bindir}/%{name}_*_test | |
90 | ||
91 | %files libs | |
92 | %defattr(644,root,root,755) | |
8b343997 | 93 | %attr(755,root,root) %{_libdir}/libepdf.so.*.*.* |
5c448f38 | 94 | |
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
97 | %attr(755,root,root) %{_bindir}/%{name}-config | |
98 | %attr(755,root,root) %{_libdir}/libepdf.so | |
99 | %{_libdir}/libepdf.la | |
100 | %{_includedir}/%{name} | |
101 | %{_pkgconfigdir}/%{name}.pc | |
102 | ||
103 | %files static | |
104 | %defattr(644,root,root,755) | |
105 | %{_libdir}/libepdf.a |