]> git.pld-linux.org Git - packages/gdlmm.git/blob - gdlmm.spec
e1ae0647665ace8680f5059e4e044a543b66d1f1
[packages/gdlmm.git] / gdlmm.spec
1 Summary:        C++ bindings for gdl library
2 Summary(pl.UTF-8):      Wiązania C++ do biblioteko gdl
3 Name:           gdlmm
4 Version:        3.2.1
5 Release:        6
6 License:        LGPL v2.1
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gdlmm/3.2/%{name}-%{version}.tar.xz
9 # Source0-md5:  d07999618fcec79a2287bb23d01fc4d2
10 Patch0:         %{name}-api-3.4.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  gdl-devel >= 3.4.0
14 BuildRequires:  glibmm-devel >= 2.16.0
15 BuildRequires:  gtkmm3-devel >= 3.0.0
16 BuildRequires:  libtool
17 BuildRequires:  pkgconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 C++ bindings for gdl library.
22
23 %description -l pl.UTF-8
24 Wiązania C++ do biblioteki gdl.
25
26 %package devel
27 Summary:        Header files for gdlmm library
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki gdlmm
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       gdl-devel >= 3.4.0
32 Requires:       glibmm-devel >= 2.12.8
33 Requires:       gtkmm3-devel >= 3.0.0
34
35 %description devel
36 Header files for gdlmm library.
37
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki gdlmm.
40
41 %package static
42 Summary:        Static gdlmm library
43 Summary(pl.UTF-8):      Statyczna biblioteka gdlmm
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static gdlmm library.
49
50 %description static -l pl.UTF-8
51 Statyczna biblioteka gdlmm.
52
53 %package apidocs
54 Summary:        gdlmm API documentation
55 Summary(pl.UTF-8):      Dokumentacja API biblioteki gdlmm
56 Group:          Documentation
57
58 %description apidocs
59 API and internal documentation for gdlmm library.
60
61 %description apidocs -l pl.UTF-8
62 Dokumentacja API biblioteki gdlmm.
63
64 %prep
65 %setup -q
66 %patch0 -p1
67
68 %build
69 %configure \
70         --enable-static \
71         --disable-silent-rules
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %{__rm} $RPM_BUILD_ROOT/%{_libdir}/libgdlmm-3.0.la
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README
92 %attr(755,root,root) %{_libdir}/libgdlmm-3.0.so.*.*.*
93 %attr(755,root,root) %ghost %{_libdir}/libgdlmm-3.0.so.0
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libgdlmm-3.0.so
98 %{_libdir}/gdlmm-3.0
99 %{_includedir}/gdlmm-3.0
100 %{_pkgconfigdir}/gdlmm-3.0.pc
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/libgdlmm-3.0.a
105
106 %files apidocs
107 %defattr(644,root,root,755)
108 %{_docdir}/gdlmm-3.0
109 %{_datadir}/devhelp/books/gdlmm-3.0
This page took 0.044481 seconds and 2 git commands to generate.