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