]>
Commit | Line | Data |
---|---|---|
93f3b278 MB |
1 | # |
2 | %define apiver 1.4 | |
82a3560f | 3 | |
93f3b278 MB |
4 | Summary: A C++ interface for pango library |
5 | Summary(pl.UTF-8): Interfejs C++ dla biblioteki pango | |
6 | Name: pangomm | |
d0a5a928 ŁK |
7 | Version: 2.36.0 |
8 | Release: 1 | |
93f3b278 MB |
9 | License: LGPL v2+ |
10 | Group: X11/Libraries | |
d0a5a928 ŁK |
11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.36/%{name}-%{version}.tar.xz |
12 | # Source0-md5: 62910723211d86ab825b666b479871c9 | |
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 |
70909d50 | 17 | BuildRequires: glibmm-devel >= 2.36.0 |
93f3b278 | 18 | BuildRequires: libstdc++-devel |
d8ac19b0 | 19 | BuildRequires: libtool >= 2:2.0 |
d22797a6 | 20 | BuildRequires: mm-common >= 0.9.5 |
d0a5a928 | 21 | BuildRequires: pango-devel >= 1:1.36.0 |
1e262751 | 22 | BuildRequires: perl-base >= 1:5.6.0 |
93f3b278 | 23 | BuildRequires: pkgconfig |
af88fe19 AF |
24 | BuildRequires: tar >= 1:1.22 |
25 | BuildRequires: xz | |
93f3b278 | 26 | Requires: cairomm >= 1.6.3 |
70909d50 | 27 | Requires: glibmm >= 2.36.0 |
d0a5a928 | 28 | Requires: pango >= 1:1.36.0 |
93f3b278 MB |
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 | |
70909d50 | 45 | Requires: glibmm-devel >= 2.36.0 |
d0a5a928 | 46 | Requires: pango-devel >= 1:1.36.0 |
93f3b278 MB |
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 | |
82a3560f ER |
75 | %if "%{_rpmversion}" >= "5" |
76 | BuildArch: noarch | |
77 | %endif | |
93f3b278 MB |
78 | |
79 | %description apidocs | |
80 | pangomm library API documentation. | |
81 | ||
82 | %description apidocs -l pl.UTF-8 | |
83 | Dokumentacja API biblioteki pangomm. | |
84 | ||
85 | %prep | |
86 | %setup -q | |
87 | ||
88 | %build | |
89 | %{__libtoolize} | |
873be98e | 90 | %{__aclocal} -I build |
93f3b278 MB |
91 | %{__autoconf} |
92 | %{__autoheader} | |
93 | %{__automake} | |
94 | %configure \ | |
b780a635 | 95 | --disable-silent-rules \ |
93f3b278 MB |
96 | --enable-static |
97 | %{__make} | |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
93f3b278 MB |
101 | %{__make} install \ |
102 | DESTDIR=$RPM_BUILD_ROOT | |
103 | ||
b780a635 AF |
104 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
105 | ||
93f3b278 MB |
106 | %clean |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
109 | %post -p /sbin/ldconfig | |
110 | %postun -p /sbin/ldconfig | |
111 | ||
112 | %files | |
113 | %defattr(644,root,root,755) | |
114 | %doc AUTHORS ChangeLog NEWS README | |
115 | %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.*.*.* | |
116 | %attr(755,root,root) %ghost %{_libdir}/libpangomm-%{apiver}.so.1 | |
117 | ||
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
120 | %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.so | |
121 | %{_includedir}/pangomm-%{apiver} | |
93f3b278 MB |
122 | %{_libdir}/pangomm-%{apiver} |
123 | %{_pkgconfigdir}/pangomm-%{apiver}.pc | |
124 | ||
125 | %files static | |
126 | %defattr(644,root,root,755) | |
127 | %{_libdir}/libpangomm-%{apiver}.a | |
128 | ||
129 | %files apidocs | |
130 | %defattr(644,root,root,755) | |
131 | %{_docdir}/pangomm-%{apiver} | |
132 | %{_datadir}/devhelp/books/pangomm-%{apiver} |