]> git.pld-linux.org Git - packages/pangomm.git/blob - pangomm.spec
- updated to 2.46.3
[packages/pangomm.git] / pangomm.spec
1 %define         apiver  1.4
2
3 %define cairomm_ver     1.12.0
4 %define glibmm_ver      2.48.0
5 %define pango_ver       1:1.45.1
6 Summary:        A C++ interface for pango library
7 Summary(pl.UTF-8):      Interfejs C++ dla biblioteki pango
8 Name:           pangomm
9 Version:        2.46.3
10 Release:        1
11 License:        LGPL v2+
12 Group:          X11/Libraries
13 Source0:        https://download.gnome.org/sources/pangomm/2.46/%{name}-%{version}.tar.xz
14 # Source0-md5:  7af783bb04de766fafaaad26c9ed475a
15 URL:            https://www.gtkmm.org/
16 BuildRequires:  autoconf >= 2.59
17 BuildRequires:  automake >= 1:1.11
18 BuildRequires:  doxygen >= 1:1.8.9
19 BuildRequires:  cairomm-devel >= %{cairomm_ver}
20 BuildRequires:  glibmm-devel >= %{glibmm_ver}
21 BuildRequires:  libstdc++-devel >= 6:4.7
22 BuildRequires:  libtool >= 2:2.0
23 BuildRequires:  mm-common >= 0.9.10
24 BuildRequires:  pango-devel >= %{pango_ver}
25 BuildRequires:  perl-base >= 1:5.6.0
26 BuildRequires:  pkgconfig
27 BuildRequires:  rpm-build >= 4.6
28 BuildRequires:  rpmbuild(macros) >= 1.752
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  xz
31 Requires:       cairomm >= %{cairomm_ver}
32 Requires:       glibmm >= %{glibmm_ver}
33 Requires:       pango >= %{pango_ver}
34 Provides:       gtkmm-pango
35 Obsoletes:      gtkmm-pango < 2.14
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 A C++ interface for pango library.
40
41 %description -l pl.UTF-8
42 Interfejs C++ dla biblioteki pango.
43
44 %package devel
45 Summary:        Header files for pangomm library
46 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki pangomm
47 Group:          X11/Development/Libraries
48 Requires:       %{name} = %{version}-%{release}
49 Requires:       cairomm-devel >= %{cairomm_ver}
50 Requires:       glibmm-devel >= %{glibmm_ver}
51 Requires:       libstdc++-devel >= 6:4.7
52 Requires:       pango-devel >= %{pango_ver}
53 Provides:       gtkmm-pango-devel
54 Obsoletes:      gtkmm-pango-devel < 2.14
55
56 %description devel
57 Header files for pangomm library.
58
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe biblioteki pangomm.
61
62 %package static
63 Summary:        Static pangomm library
64 Summary(pl.UTF-8):      Statyczna biblioteka pangomm
65 Group:          X11/Development/Libraries
66 Requires:       %{name}-devel = %{version}-%{release}
67 Provides:       gtkmm-pango-static
68 Obsoletes:      gtkmm-pango-static < 2.14
69
70 %description static
71 Static pangomm library.
72
73 %description static -l pl.UTF-8
74 Statyczna biblioteka pangomm.
75
76 %package apidocs
77 Summary:        pangomm library API documentation
78 Summary(pl.UTF-8):      Dokumentacja API biblioteki pangomm
79 Group:          Documentation
80 Requires:       devhelp
81 BuildArch:      noarch
82
83 %description apidocs
84 pangomm library API documentation.
85
86 %description apidocs -l pl.UTF-8
87 Dokumentacja API biblioteki pangomm.
88
89 %prep
90 %setup -q
91
92 %build
93 mm-common-prepare --copy --force
94 %{__libtoolize}
95 %{__aclocal} -I build
96 %{__autoconf}
97 %{__autoheader}
98 %{__automake}
99 %configure \
100         --enable-maintainer-mode \
101         --disable-silent-rules \
102         --enable-static
103 %{__make}
104
105 %install
106 rm -rf $RPM_BUILD_ROOT
107
108 %{__make} install \
109         DESTDIR=$RPM_BUILD_ROOT
110
111 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %post   -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
118
119 %files
120 %defattr(644,root,root,755)
121 %doc AUTHORS ChangeLog NEWS README.md
122 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.*.*.*
123 %attr(755,root,root) %ghost %{_libdir}/libpangomm-%{apiver}.so.1
124
125 %files devel
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.so
128 %{_includedir}/pangomm-%{apiver}
129 %{_libdir}/pangomm-%{apiver}
130 %{_pkgconfigdir}/pangomm-%{apiver}.pc
131
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/libpangomm-%{apiver}.a
135
136 %files apidocs
137 %defattr(644,root,root,755)
138 %{_docdir}/pangomm-%{apiver}
139 %{_datadir}/devhelp/books/pangomm-%{apiver}
This page took 0.056724 seconds and 3 git commands to generate.