]> git.pld-linux.org Git - packages/libtiger.git/blob - libtiger.spec
99bf80befb53ce6ecdc8e067cf11e44fea953120
[packages/libtiger.git] / libtiger.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # build without tests
4 #
5 Summary:        Rendering library for Kate text streams using Pango and Cairo
6 Summary(pl.UTF-8):      Biblioteka renderująca strumienie tekstowe Kate przy użyciu Pango i Cairo
7 Name:           libtiger
8 Version:        0.3.4
9 Release:        12
10 License:        LGPL v2.1+
11 Group:          Libraries
12 #Source0Download: http://code.google.com/p/libtiger/downloads/list
13 Source0:        http://libtiger.googlecode.com/files/%{name}-%{version}.tar.gz
14 # Source0-md5:  dc1dbeb658c95485ba10b9b2897b4ae2
15 URL:            http://code.google.com/p/libtiger/
16 BuildRequires:  doxygen
17 BuildRequires:  libkate-devel >= 0.2.0
18 BuildRequires:  pango-devel >= 1:1.16
19 BuildRequires:  pkgconfig
20 Requires:       libkate >= 0.2.0
21 Requires:       pango >= 1:1.16
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This is libtiger, a rendering library for Kate streams using Pango and
26 Cairo.
27
28 %description -l pl.UTF-8
29 libtiger to biblioteka renderująca dla strumieni Kate, korzystająca z
30 bibliotek Pango i Cairo.
31
32 %package devel
33 Summary:        Header files for libtiger library
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libtiger
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       libkate-devel >= 0.2.0
38 Requires:       pango-devel >= 1:1.16
39
40 %description devel
41 This package contains the header files for developing applications
42 that use libtiger library.
43
44 %description devel -l pl.UTF-8
45 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
46 wykorzystujących bibliotekę libtiger.
47
48 %package static
49 Summary:        Static libtiger library
50 Summary(pl.UTF-8):      Statyczna biblioteka libtiger
51 Group:          Development/Libraries
52 Requires:       %{name}-devel = %{version}-%{release}
53
54 %description static
55 Static libtiger library.
56
57 %description static -l pl.UTF-8
58 Statyczna biblioteka libtiger.
59
60 %prep
61 %setup -q
62
63 %build
64 %configure
65
66 %{__make}
67
68 %{?with_tests:%{__make} check}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
77 cp -a examples/src/*.[ch] $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
78
79 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libtiger
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
88 %defattr(644,root,root,755)
89 %doc AUTHORS ChangeLog README THANKS
90 %attr(755,root,root) %{_libdir}/libtiger.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libtiger.so.5
92
93 %files devel
94 %defattr(644,root,root,755)
95 %doc doc/html/*
96 %attr(755,root,root) %{_libdir}/libtiger.so
97 %{_libdir}/libtiger.la
98 %{_includedir}/tiger
99 %{_pkgconfigdir}/tiger.pc
100 %{_examplesdir}/%{name}-%{version}
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/libtiger.a
This page took 0.121369 seconds and 2 git commands to generate.