]> git.pld-linux.org Git - packages/pangomm2.48.git/blob - pangomm.spec
8f369ded374e602d1e7eb7111c32283c769c0879
[packages/pangomm2.48.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.40.0
7 Release:        1
8 License:        LGPL v2+
9 Group:          X11/Libraries
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.40/%{name}-%{version}.tar.xz
11 # Source0-md5:  681fe43bac96e63321406e1b092093d2
12 URL:            http://www.gtkmm.org/
13 BuildRequires:  autoconf >= 2.59
14 BuildRequires:  automake >= 1:1.11
15 BuildRequires:  cairomm-devel >= 1.12.0
16 BuildRequires:  glibmm-devel >= 2.48.0
17 BuildRequires:  libstdc++-devel >= 6:4.6
18 BuildRequires:  libtool >= 2:2.0
19 BuildRequires:  mm-common >= 0.9.8
20 BuildRequires:  pango-devel >= 1:1.38.0
21 BuildRequires:  perl-base >= 1:5.6.0
22 BuildRequires:  pkgconfig
23 BuildRequires:  tar >= 1:1.22
24 BuildRequires:  xz
25 Requires:       cairomm >= 1.12.0
26 Requires:       glibmm >= 2.48.0
27 Requires:       pango >= 1:1.38.0
28 Provides:       gtkmm-pango
29 Obsoletes:      gtkmm-pango
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 A C++ interface for pango library.
34
35 %description -l pl.UTF-8
36 Interfejs C++ dla biblioteki pango.
37
38 %package devel
39 Summary:        Header files for pangomm library
40 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki pangomm
41 Group:          X11/Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       cairomm-devel >= 1.12.0
44 Requires:       glibmm-devel >= 2.48.0
45 Requires:       libstdc++-devel >= 6:4.6
46 Requires:       pango-devel >= 1:1.38.0
47 Provides:       gtkmm-pango-devel
48 Obsoletes:      gtkmm-pango-devel
49
50 %description devel
51 Header files for pangomm library.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe biblioteki pangomm.
55
56 %package static
57 Summary:        Static pangomm library
58 Summary(pl.UTF-8):      Statyczna biblioteka pangomm
59 Group:          X11/Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61 Provides:       gtkmm-pango-static
62 Obsoletes:      gtkmm-pango-static
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 %if "%{_rpmversion}" >= "5"
76 BuildArch:      noarch
77 %endif
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 %{__libtoolize}
90 %{__aclocal} -I build
91 %{__autoconf}
92 %{__autoheader}
93 %{__automake}
94 %configure \
95         --disable-silent-rules \
96         --enable-static
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
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.031095 seconds and 2 git commands to generate.