]> git.pld-linux.org Git - packages/pangomm.git/blob - pangomm.spec
- x32 rebuild
[packages/pangomm.git] / pangomm.spec
1 #
2 %define         apiver  1.4
3
4 Summary:        A C++ interface for pango library
5 Summary(pl.UTF-8):      Interfejs C++ dla biblioteki pango
6 Name:           pangomm
7 Version:        2.34.0
8 Release:        3
9 License:        LGPL v2+
10 Group:          X11/Libraries
11 Source0:        http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.34/%{name}-%{version}.tar.xz
12 # Source0-md5:  2c702caede167323c9ed9eed2b933098
13 URL:            http://www.gtkmm.org/
14 BuildRequires:  autoconf >= 2.59
15 BuildRequires:  automake >= 1:1.11
16 BuildRequires:  cairomm-devel >= 1.6.3
17 BuildRequires:  glibmm-devel >= 2.36.0
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool >= 2:2.0
20 BuildRequires:  mm-common >= 0.9.5
21 BuildRequires:  pango-devel >= 1:1.24.0
22 BuildRequires:  perl-base >= 1:5.6.0
23 BuildRequires:  pkgconfig
24 BuildRequires:  tar >= 1:1.22
25 BuildRequires:  xz
26 Requires:       cairomm >= 1.6.3
27 Requires:       glibmm >= 2.36.0
28 Requires:       pango >= 1:1.24.0
29 Provides:       gtkmm-pango
30 Obsoletes:      gtkmm-pango
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 A C++ interface for pango library.
35
36 %description -l pl.UTF-8
37 Interfejs C++ dla biblioteki pango.
38
39 %package devel
40 Summary:        Header files for pangomm library
41 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki pangomm
42 Group:          X11/Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       cairomm-devel >= 1.6.3
45 Requires:       glibmm-devel >= 2.36.0
46 Requires:       pango-devel >= 1:1.24.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.067855 seconds and 4 git commands to generate.