]>
Commit | Line | Data |
---|---|---|
fb75a820 JK |
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 | |
cca32793 | 5 | Release: 3 |
fb75a820 JK |
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 | BuildRequires: autoconf | |
11 | BuildRequires: automake >= 1:1.9 | |
12 | BuildRequires: gdl-devel >= 3.0.0 | |
13 | BuildRequires: glibmm-devel >= 2.16.0 | |
14 | BuildRequires: gtkmm3-devel >= 3.0.0 | |
15 | BuildRequires: libtool | |
16 | BuildRequires: pkgconfig | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | C++ bindings for gdl library. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Wiązania C++ do biblioteki gdl.. | |
24 | ||
25 | %package devel | |
26 | Summary: Header files for gdlmm library | |
27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gdlmm | |
28 | Group: Development/Libraries | |
29 | Requires: %{name} = %{version}-%{release} | |
30 | Requires: gdl-devel >= 3.0.0 | |
31 | Requires: glibmm-devel >= 2.12.8 | |
32 | Requires: gtkmm3-devel >= 3.0.0 | |
33 | ||
34 | %description devel | |
35 | Header files for gdlmm library. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe biblioteki gdlmm. | |
39 | ||
40 | %package static | |
41 | Summary: Static gdlmm library | |
42 | Summary(pl.UTF-8): Statyczna biblioteka gdlmm | |
43 | Group: Development/Libraries | |
44 | Requires: %{name}-devel = %{version}-%{release} | |
45 | ||
46 | %description static | |
47 | Static gdlmm library. | |
48 | ||
49 | %description static -l pl.UTF-8 | |
50 | Statyczna biblioteka gdlmm. | |
51 | ||
52 | %package apidocs | |
53 | Summary: gdlmm API documentation | |
54 | Summary(pl.UTF-8): Dokumentacja API biblioteki gdlmm | |
55 | Group: Documentation | |
56 | ||
57 | %description apidocs | |
58 | API and internal documentation for gdlmm library. | |
59 | ||
60 | %description apidocs -l pl.UTF-8 | |
61 | Dokumentacja API biblioteki gdlmm. | |
62 | ||
63 | %prep | |
64 | %setup -q | |
65 | ||
66 | %build | |
67 | %configure \ | |
68 | --enable-static \ | |
69 | ||
70 | %{__make} | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %post -p /sbin/ldconfig | |
82 | %postun -p /sbin/ldconfig | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc AUTHORS ChangeLog NEWS README | |
87 | %attr(755,root,root) %{_libdir}/libgdlmm-3.0.so.*.*.* | |
88 | %attr(755,root,root) %ghost %{_libdir}/libgdlmm-3.0.so.0 | |
89 | ||
90 | %files devel | |
91 | %defattr(644,root,root,755) | |
92 | %attr(755,root,root) %{_libdir}/libgdlmm-3.0.so | |
93 | %{_libdir}/gdlmm-3.0 | |
94 | %{_libdir}/libgdlmm-3.0.la | |
95 | %{_includedir}/gdlmm-3.0 | |
96 | %{_pkgconfigdir}/gdlmm-3.0.pc | |
97 | ||
98 | %files static | |
99 | %defattr(644,root,root,755) | |
100 | %{_libdir}/libgdlmm-3.0.a | |
101 | ||
102 | %files apidocs | |
103 | %defattr(644,root,root,755) | |
104 | %{_docdir}/gdlmm-3.0 | |
105 | %{_datadir}/devhelp/books/gdlmm-3.0 |