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