]> git.pld-linux.org Git - packages/pangomm.git/blob - pangomm.spec
- updated to 2.46.0
[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.0
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:  9b32edce1e04300c1648a313dc29e9f7
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:  rpmbuild(macros) >= 1.752
28 BuildRequires:  tar >= 1:1.22
29 BuildRequires:  xz
30 Requires:       cairomm >= %{cairomm_ver}
31 Requires:       glibmm >= %{glibmm_ver}
32 Requires:       pango >= %{pango_ver}
33 Provides:       gtkmm-pango
34 Obsoletes:      gtkmm-pango
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 A C++ interface for pango library.
39
40 %description -l pl.UTF-8
41 Interfejs C++ dla biblioteki pango.
42
43 %package devel
44 Summary:        Header files for pangomm library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki pangomm
46 Group:          X11/Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       cairomm-devel >= %{cairomm_ver}
49 Requires:       glibmm-devel >= %{glibmm_ver}
50 Requires:       libstdc++-devel >= 6:4.7
51 Requires:       pango-devel >= %{pango_ver}
52 Provides:       gtkmm-pango-devel
53 Obsoletes:      gtkmm-pango-devel
54
55 %description devel
56 Header files for pangomm library.
57
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe biblioteki pangomm.
60
61 %package static
62 Summary:        Static pangomm library
63 Summary(pl.UTF-8):      Statyczna biblioteka pangomm
64 Group:          X11/Development/Libraries
65 Requires:       %{name}-devel = %{version}-%{release}
66 Provides:       gtkmm-pango-static
67 Obsoletes:      gtkmm-pango-static
68
69 %description static
70 Static pangomm library.
71
72 %description static -l pl.UTF-8
73 Statyczna biblioteka pangomm.
74
75 %package apidocs
76 Summary:        pangomm library API documentation
77 Summary(pl.UTF-8):      Dokumentacja API biblioteki pangomm
78 Group:          Documentation
79 Requires:       devhelp
80 %{?noarchpackage}
81
82 %description apidocs
83 pangomm library API documentation.
84
85 %description apidocs -l pl.UTF-8
86 Dokumentacja API biblioteki pangomm.
87
88 %prep
89 %setup -q
90
91 %build
92 mm-common-prepare --copy --force
93 %{__libtoolize}
94 %{__aclocal} -I build
95 %{__autoconf}
96 %{__autoheader}
97 %{__automake}
98 %configure \
99         --enable-maintainer-mode \
100         --disable-silent-rules \
101         --enable-static
102 %{__make}
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106
107 %{__make} install \
108         DESTDIR=$RPM_BUILD_ROOT
109
110 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %post   -p /sbin/ldconfig
116 %postun -p /sbin/ldconfig
117
118 %files
119 %defattr(644,root,root,755)
120 %doc AUTHORS ChangeLog NEWS README
121 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libpangomm-%{apiver}.so.1
123
124 %files devel
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.so
127 %{_includedir}/pangomm-%{apiver}
128 %{_libdir}/pangomm-%{apiver}
129 %{_pkgconfigdir}/pangomm-%{apiver}.pc
130
131 %files static
132 %defattr(644,root,root,755)
133 %{_libdir}/libpangomm-%{apiver}.a
134
135 %files apidocs
136 %defattr(644,root,root,755)
137 %{_docdir}/pangomm-%{apiver}
138 %{_datadir}/devhelp/books/pangomm-%{apiver}
This page took 0.059184 seconds and 3 git commands to generate.