]> git.pld-linux.org Git - packages/pangomm2.48.git/blob - pangomm.spec
- up to 2.28.3
[packages/pangomm2.48.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.28.3
8 Release:        1
9 License:        LGPL v2+
10 Group:          X11/Libraries
11 Source0:        http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.28/%{name}-%{version}.tar.xz
12 # Source0-md5:  f259bfb342dc29acf42da923e3459837
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.22.0
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool >= 2:1.5
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.22.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.22.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
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
84
85 %build
86 %{__libtoolize}
87 %{__aclocal} -I build
88 %{__autoconf}
89 %{__autoheader}
90 %{__automake}
91 %configure \
92         --disable-silent-rules \
93         --enable-static
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT
101
102 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
110 %files
111 %defattr(644,root,root,755)
112 %doc AUTHORS ChangeLog NEWS README
113 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.*.*.*
114 %attr(755,root,root) %ghost %{_libdir}/libpangomm-%{apiver}.so.1
115
116 %files devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.so
119 %{_includedir}/pangomm-%{apiver}
120 %{_libdir}/pangomm-%{apiver}
121 %{_pkgconfigdir}/pangomm-%{apiver}.pc
122
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/libpangomm-%{apiver}.a
126
127 %files apidocs
128 %defattr(644,root,root,755)
129 %{_docdir}/pangomm-%{apiver}
130 %{_datadir}/devhelp/books/pangomm-%{apiver}
This page took 0.074715 seconds and 3 git commands to generate.