]>
Commit | Line | Data |
---|---|---|
93f3b278 MB |
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 | |
6e50e10e | 7 | Version: 2.28.1 |
873be98e | 8 | Release: 1 |
93f3b278 MB |
9 | License: LGPL v2+ |
10 | Group: X11/Libraries | |
b780a635 | 11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.28/%{name}-%{version}.tar.bz2 |
6e50e10e | 12 | # Source0-md5: 03e6406bfb311e4018e69ab2a02b489b |
93f3b278 MB |
13 | URL: http://www.gtkmm.org/ |
14 | BuildRequires: autoconf >= 2.59 | |
b780a635 | 15 | BuildRequires: automake >= 1:1.11 |
93f3b278 | 16 | BuildRequires: cairomm-devel >= 1.6.3 |
9e72a50f | 17 | BuildRequires: glibmm-devel >= 2.22.0 |
93f3b278 | 18 | BuildRequires: libstdc++-devel |
fbeb9e86 | 19 | BuildRequires: libtool >= 2:1.5 |
873be98e | 20 | BuildRequires: mm-common >= 0.7.1 |
1e262751 JB |
21 | BuildRequires: pango-devel >= 1:1.24.0 |
22 | BuildRequires: perl-base >= 1:5.6.0 | |
93f3b278 MB |
23 | BuildRequires: pkgconfig |
24 | Requires: cairomm >= 1.6.3 | |
25 | Requires: glibmm >= 2.16.0 | |
1e262751 | 26 | Requires: pango >= 1:1.24.0 |
93f3b278 MB |
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 | |
1e262751 | 44 | Requires: pango-devel >= 1:1.24.0 |
93f3b278 MB |
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} | |
873be98e | 85 | %{__aclocal} -I build |
93f3b278 MB |
86 | %{__autoconf} |
87 | %{__autoheader} | |
88 | %{__automake} | |
89 | %configure \ | |
b780a635 | 90 | --disable-silent-rules \ |
93f3b278 MB |
91 | --enable-static |
92 | %{__make} | |
93 | ||
94 | %install | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %{__make} install \ | |
98 | DESTDIR=$RPM_BUILD_ROOT | |
99 | ||
b780a635 AF |
100 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
101 | ||
93f3b278 MB |
102 | %clean |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %post -p /sbin/ldconfig | |
106 | %postun -p /sbin/ldconfig | |
107 | ||
108 | %files | |
109 | %defattr(644,root,root,755) | |
110 | %doc AUTHORS ChangeLog NEWS README | |
111 | %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.*.*.* | |
112 | %attr(755,root,root) %ghost %{_libdir}/libpangomm-%{apiver}.so.1 | |
113 | ||
114 | %files devel | |
115 | %defattr(644,root,root,755) | |
116 | %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.so | |
117 | %{_includedir}/pangomm-%{apiver} | |
93f3b278 MB |
118 | %{_libdir}/pangomm-%{apiver} |
119 | %{_pkgconfigdir}/pangomm-%{apiver}.pc | |
120 | ||
121 | %files static | |
122 | %defattr(644,root,root,755) | |
123 | %{_libdir}/libpangomm-%{apiver}.a | |
124 | ||
125 | %files apidocs | |
126 | %defattr(644,root,root,755) | |
127 | %{_docdir}/pangomm-%{apiver} | |
128 | %{_datadir}/devhelp/books/pangomm-%{apiver} |