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