]> git.pld-linux.org Git - packages/gdlmm.git/blob - gdlmm.spec
c4e280331b670bc9f30dc55fc3d176085337da53
[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.7.3
5 Release:        1
6 License:        LGPL v2.1
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gdlmm/3.7/%{name}-%{version}.tar.xz
9 # Source0-md5:  518623e187d8bbe4c40c1d0dc3663e05
10 BuildRequires:  autoconf
11 BuildRequires:  automake >= 1:1.9
12 BuildRequires:  gdl-devel >= 3.4.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.4.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 %if "%{_rpmversion}" >= "5"
57 BuildArch:      noarch
58 %endif
59
60 %description apidocs
61 API and internal documentation for gdlmm library.
62
63 %description apidocs -l pl.UTF-8
64 Dokumentacja API biblioteki gdlmm.
65
66 %prep
67 %setup -q
68
69 %build
70 %configure \
71         --enable-static \
72         --disable-silent-rules
73
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 %{__rm} $RPM_BUILD_ROOT/%{_libdir}/libgdlmm-3.0.la
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog NEWS README
93 %attr(755,root,root) %{_libdir}/libgdlmm-3.0.so.*.*.*
94 %attr(755,root,root) %ghost %{_libdir}/libgdlmm-3.0.so.2
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/libgdlmm-3.0.so
99 %{_libdir}/gdlmm-3.0
100 %{_includedir}/gdlmm-3.0
101 %{_pkgconfigdir}/gdlmm-3.0.pc
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/libgdlmm-3.0.a
106
107 %files apidocs
108 %defattr(644,root,root,755)
109 %{_docdir}/gdlmm-3.0
110 %{_datadir}/devhelp/books/gdlmm-3.0
This page took 0.113328 seconds and 2 git commands to generate.