]> git.pld-linux.org Git - SPECS.git/blob - libreptool.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / libreptool.spec
1 Summary:        Library for reporting
2 Summary(pl.UTF-8):      Biblioteka do raportowania
3 Name:           libreptool
4 Version:        0.0.4
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/reptool/%{name}-%{version}.tar.gz
9 # Source0-md5:  85cd4098095ae4077398e09be5c89298
10 URL:            http://sourceforge.net/projects/reptool/
11 BuildRequires:  cairo-devel >= 1.0.0
12 BuildRequires:  glib2-devel >= 1:2.6.0
13 BuildRequires:  gtk-doc
14 BuildRequires:  libgda-devel >= 1.2.3
15 BuildRequires:  libxml2-devel >= 1:2.6.0
16 BuildRequires:  pango-devel >= 1.12
17 BuildRequires:  pkgconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Reptool is a reporting/printing tool based on libreptool, which manage
22 source files that are the report's definition, and it produces the
23 report/print.
24
25 %description -l pl.UTF-8
26 reptool to narzędzie do raportowania/drukowania oparte na bibliotece
27 libreptool, zarządzającej plikami źródłowymi będącymi definicją
28 raportu i tworzącej raport/wydruk.
29
30 %package apidocs
31 Summary:        libreptool API documentation
32 Summary(pl.UTF-8):      Dokumentacja API libreptool
33 Group:          Documentation
34 Requires:       gtk-doc-common
35
36 %description apidocs
37 libreptool API documentation.
38
39 %description apidocs -l pl.UTF-8
40 Dokumentacja API libreptool.
41
42 %package devel
43 Summary:        Header files for libreptool library
44 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libreptool
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-%{release}
47 Requires:       cairo-devel >= 1.0.0
48 Requires:       glib2-devel >= 1:2.6.0
49 Requires:       libgda-devel >= 1.2.3
50 Requires:       libxml2-devel >= 1:2.6.0
51 Requires:       pango-devel >= 1.12
52
53 %description devel
54 Header files for libreptool library.
55
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki libreptool.
58
59 %package static
60 Summary:        Static libreptool library
61 Summary(pl.UTF-8):      Statyczna biblioteka libreptool
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}-%{release}
64
65 %description static
66 Static libreptool library.
67
68 %description static -l pl.UTF-8
69 Statyczna biblioteka libreptool.
70
71 %prep
72 %setup -q
73
74 %build
75 %configure \
76         --with-html-dir=%{_gtkdocdir}
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README
94 %attr(755,root,root) %{_libdir}/*.so.*.*.*
95
96 %files apidocs
97 %defattr(644,root,root,755)
98 %{_gtkdocdir}/libreptool
99
100 %files devel
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/*.so
103 %{_libdir}/*.la
104 %{_includedir}/*
105 %{_pkgconfigdir}/*.pc
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/*.a
This page took 0.164483 seconds and 3 git commands to generate.