]> git.pld-linux.org Git - packages/pangomm.git/blob - pangomm.spec
92dffa166f5cdae773ba123e3fdf36ca84ae4a48
[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.26.3
8 Release:        1
9 License:        LGPL v2+
10 Group:          X11/Libraries
11 Source0:        http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.26/%{name}-%{version}.tar.bz2
12 # Source0-md5:  1f2712d53918cfb4745c291a67b86156
13 URL:            http://www.gtkmm.org/
14 BuildRequires:  autoconf >= 2.59
15 BuildRequires:  automake >= 1:1.9
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.7.1
21 BuildRequires:  pango-devel >= 1:1.24.0
22 BuildRequires:  perl-base >= 1:5.6.0
23 BuildRequires:  pkgconfig
24 Requires:       cairomm >= 1.6.3
25 Requires:       glibmm >= 2.16.0
26 Requires:       pango >= 1:1.24.0
27 Provides:       gtkmm-pango
28 Obsoletes:      gtkmm-pango
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 A C++ interface for pango library.
33
34 %description -l pl.UTF-8
35 Interfejs C++ dla biblioteki pango.
36
37 %package devel
38 Summary:        Header files for pangomm library
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki pangomm
40 Group:          X11/Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       cairomm-devel >= 1.6.3
43 Requires:       glibmm-devel >= 2.16.0
44 Requires:       pango-devel >= 1:1.24.0
45 Provides:       gtkmm-pango-devel
46 Obsoletes:      gtkmm-pango-devel
47
48 %description devel
49 Header files for pangomm library.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki pangomm.
53
54 %package static
55 Summary:        Static pangomm library
56 Summary(pl.UTF-8):      Statyczna biblioteka pangomm
57 Group:          X11/Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59 Provides:       gtkmm-pango-static
60 Obsoletes:      gtkmm-pango-static
61
62 %description static
63 Static pangomm library.
64
65 %description static -l pl.UTF-8
66 Statyczna biblioteka pangomm.
67
68 %package apidocs
69 Summary:        pangomm library API documentation
70 Summary(pl.UTF-8):      Dokumentacja API biblioteki pangomm
71 Group:          Documentation
72 Requires:       devhelp
73
74 %description apidocs
75 pangomm library API documentation.
76
77 %description apidocs -l pl.UTF-8
78 Dokumentacja API biblioteki pangomm.
79
80 %prep
81 %setup -q
82
83 %build
84 %{__libtoolize}
85 %{__aclocal} -I build
86 %{__autoconf}
87 %{__autoheader}
88 %{__automake}
89 %configure \
90         --enable-static
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post   -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
104
105 %files
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README
108 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libpangomm-%{apiver}.so.1
110
111 %files devel
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.so
114 %{_includedir}/pangomm-%{apiver}
115 %{_libdir}/libpangomm-%{apiver}.la
116 %{_libdir}/pangomm-%{apiver}
117 %{_pkgconfigdir}/pangomm-%{apiver}.pc
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/libpangomm-%{apiver}.a
122
123 %files apidocs
124 %defattr(644,root,root,755)
125 %{_docdir}/pangomm-%{apiver}
126 %{_datadir}/devhelp/books/pangomm-%{apiver}
This page took 0.145223 seconds and 2 git commands to generate.