]>
Commit | Line | Data |
---|---|---|
29774160 JB |
1 | Summary: C++ wrappers for GooCanvas 2 library |
2 | Summary(pl.UTF-8): Interfejsy C++ dla biblioteki GooCanvas 2 | |
3 | Name: goocanvasmm2 | |
bcc3a9eb | 4 | Version: 1.90.9 |
1a492f0a | 5 | Release: 4 |
29774160 JB |
6 | License: LGPL v2.1+ |
7 | Group: X11/Libraries | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/goocanvasmm/1.90/goocanvasmm-%{version}.tar.xz | |
bcc3a9eb | 9 | # Source0-md5: f10ce3f1f97ee6906a741ef88c815215 |
29774160 JB |
10 | BuildRequires: autoconf >= 2.59 |
11 | BuildRequires: automake >= 1:1.9 | |
12 | BuildRequires: doxygen | |
13 | BuildRequires: glibmm-devel >= 2.14.2 | |
14 | BuildRequires: goocanvas2-devel >= 2.0.1 | |
15 | BuildRequires: gtkmm3-devel >= 3.0.0 | |
29774160 | 16 | BuildRequires: libtool |
36f6042f | 17 | BuildRequires: mm-common >= 0.9.5 |
29774160 JB |
18 | BuildRequires: pkgconfig |
19 | BuildRequires: tar >= 1:1.22 | |
20 | BuildRequires: xz | |
21 | Requires: glibmm >= 2.14.2 | |
22 | Requires: goocanvas2 >= 2.0.1 | |
23 | Requires: gtkmm3 >= 3.0.0 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | C++ wrappers for GooCanvas 2 library. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Interfejsy C++ dla biblioteki GooCanvas 2. | |
31 | ||
32 | %package devel | |
33 | Summary: Header files for goocanvasmm 2 library | |
34 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki goocanvasmm 2 | |
35 | Group: X11/Development/Libraries | |
36 | Requires: %{name} = %{version}-%{release} | |
37 | Requires: glibmm-devel >= 2.14.2 | |
38 | Requires: goocanvas2-devel >= 2.0.1 | |
39 | Requires: gtkmm3-devel >= 3.0.0 | |
40 | ||
41 | %description devel | |
42 | Header files for goocanvasmm 2 library. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Pliki nagłówkowe biblioteki goocanvasmm 2. | |
46 | ||
47 | %package static | |
48 | Summary: Static goocanvasmm 2 library | |
49 | Summary(pl.UTF-8): Statyczna biblioteka goocanvasmm 2 | |
50 | Group: X11/Development/Libraries | |
51 | Requires: %{name}-devel = %{version}-%{release} | |
52 | ||
53 | %description static | |
54 | Static goocanvasmm 2 library. | |
55 | ||
56 | %description static -l pl.UTF-8 | |
57 | Statyczna biblioteka goocanvasmm 2. | |
58 | ||
59 | %package apidocs | |
60 | Summary: goocanvasmm 2 API documentation | |
61 | Summary(pl.UTF-8): Dokumentacja API biblioteki goocanvasmm 2 | |
62 | Group: Documentation | |
36f6042f ER |
63 | %if "%{_rpmversion}" >= "5" |
64 | BuildArch: noarch | |
65 | %endif | |
29774160 JB |
66 | |
67 | %description apidocs | |
68 | API documentation for goocanvasmm 2 library. | |
69 | ||
70 | %description apidocs -l pl.UTF-8 | |
71 | Dokumentacja API biblioteki goocanvasmm 2. | |
72 | ||
73 | %prep | |
74 | %setup -q -n goocanvasmm-%{version} | |
75 | ||
76 | %build | |
77 | %{__libtoolize} | |
78 | %{__aclocal} -I build | |
79 | %{__autoconf} | |
80 | %{__autoheader} | |
81 | %{__automake} | |
82 | %configure \ | |
83 | --enable-static | |
84 | %{__make} | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
29774160 JB |
88 | %{__make} install \ |
89 | DESTDIR=$RPM_BUILD_ROOT | |
90 | ||
91 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
92 | ||
93 | %clean | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %post -p /sbin/ldconfig | |
97 | %postun -p /sbin/ldconfig | |
98 | ||
99 | %files | |
100 | %defattr(644,root,root,755) | |
101 | %doc ChangeLog NEWS README TODO | |
102 | %attr(755,root,root) %{_libdir}/libgoocanvasmm-2.0.so.*.*.* | |
103 | %attr(755,root,root) %ghost %{_libdir}/libgoocanvasmm-2.0.so.6 | |
104 | ||
105 | %files devel | |
106 | %defattr(644,root,root,755) | |
107 | %attr(755,root,root) %{_libdir}/libgoocanvasmm-2.0.so | |
108 | %{_libdir}/goocanvasmm-2.0 | |
109 | %{_includedir}/goocanvasmm-2.0 | |
110 | %{_pkgconfigdir}/goocanvasmm-2.0.pc | |
111 | ||
112 | %files static | |
113 | %defattr(644,root,root,755) | |
114 | %{_libdir}/libgoocanvasmm-2.0.a | |
115 | ||
116 | %files apidocs | |
117 | %defattr(644,root,root,755) | |
118 | # it can't be compressed | |
119 | %{_docdir}/goocanvasmm-2.0 | |
120 | %{_datadir}/devhelp/books/goocanvasmm-2.0 |