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