]> git.pld-linux.org Git - packages/epdf.git/blob - epdf.spec
- tabs in preamble
[packages/epdf.git] / epdf.spec
1 %define _snap   20060308
2 Summary:        pdf viewer using Enlightenment libraries
3 Summary(pl.UTF-8):      Przeglądarka PDF-ów używająca bibliotek Enlightenmenta
4 Name:           epdf
5 Version:        0.1
6 Release:        0.%{_snap}.1
7 License:        BSD
8 Group:          X11/Applications/Graphics
9 Source0:        http://sparky.homelinux.org/snaps/enli/e17/proto/%{name}-%{_snap}.tar.bz2
10 # Source0-md5:  d86a1040135d6b6b63335f1513afbed5
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
24 %description -l pl.UTF-8
25 epdf to przeglądarka PDF-ów używająca bibliotek Enlightenmenta.
26
27 %package libs
28 Summary:        epdf library
29 Summary(pl.UTF-8):      Biblioteka epdf
30 Group:          Libraries
31
32 %description libs
33 epdf library.
34
35 %description libs -l pl.UTF-8
36 Biblioteka epdf.
37
38 %package devel
39 Summary:        Header files for epdf library
40 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki epdf
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
47 %description devel -l pl.UTF-8
48 Ten pakiet zawiera pliki nagłówkowe biblioteki epdf.
49
50 %package static
51 Summary:        Static epdf library
52 Summary(pl.UTF-8):      Statyczna biblioteka epdf
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 Static epdf library.
58
59 %description static -l pl.UTF-8
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
83 %post   libs -p /sbin/ldconfig
84 %postun libs -p /sbin/ldconfig
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)
93 %attr(755,root,root) %{_libdir}/libepdf.so.*.*.*
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
This page took 0.056166 seconds and 3 git commands to generate.