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