]> git.pld-linux.org Git - SPECS.git/blob - gtkspellmm.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gtkspellmm.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # static library
4
5 Summary:        C++ binding for the gtkspell library
6 Summary(pl.UTF-8):      Interfejs C++ do biblioteki gtkspell
7 Name:           gtkspellmm
8 Version:        3.0.5
9 Release:        2
10 License:        GPL v2+
11 Group:          X11/Libraries
12 Source0:        http://downloads.sourceforge.net/gtkspell/%{name}-%{version}.tar.xz
13 # Source0-md5:  abaf93ff39eec716d056edfc1ff8490b
14 URL:            http://gtkspell.sourceforge.net/
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake >= 1:1.9
17 BuildRequires:  glibmm-devel >= 2.16
18 BuildRequires:  gtk+3-devel >= 3.0
19 BuildRequires:  gtkmm3-devel >= 3.0
20 BuildRequires:  gtkspell3-devel >= 3.0.9
21 BuildRequires:  intltool >= 0.35.0
22 BuildRequires:  libstdc++-devel >= 6:4.3
23 BuildRequires:  libtool >= 2:1.5
24 BuildRequires:  mm-common >= 0.9
25 BuildRequires:  pkgconfig
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xz
28 Requires:       glibmm >= 2.16
29 Requires:       gtkspell3 >= 3.0.9
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 gtkspellmm is the C++ binding for the gtkspell library.
34
35 This module is part of the GNOME C++ bindings effort
36 <http://www.gtkmm.org/>.
37
38 %description -l pl.UTF-8
39 gtkspellmm to wiązanie C++ do biblioteki gtkspell.
40
41 Jest to część projektu wiązań C++ dla GNOME <http://www.gtkmm.org/>.
42
43 %package devel
44 Summary:        Header files for gtkspellmm
45 Summary(pl.UTF-8):      Pliki nagłówkowe dla gtkspellmm
46 Group:          X11/Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       glibmm-devel >= 2.16
49 Requires:       gtk+3-devel >= 3.0
50 Requires:       gtkmm3-devel >= 3.0
51 Requires:       gtkspell3-devel >= 3.0.9
52 Requires:       libstdc++-devel >= 6:4.3
53
54 %description devel
55 Header files for gtkspellmm.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe dla gtkspellmm.
59
60 %package static
61 Summary:        Static gtkspellmm library
62 Summary(pl.UTF-8):      Biblioteka statyczna gtkspellmm
63 Group:          X11/Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static gtkspellmm library.
68
69 %description static -l pl.UTF-8
70 Biblioteka statyczna gtkspellmm.
71
72 %package apidocs
73 Summary:        gtkspellmm API documentation
74 Summary(pl.UTF-8):      Dokumentacja API gtkspellmm
75 Group:          Documentation
76 BuildArch:      noarch
77
78 %description apidocs
79 gtkspellmm API documentation.
80
81 %description apidocs -l pl.UTF-8
82 Dokumentacja API gtkspellmm.
83
84 %prep
85 %setup -q
86
87 %build
88 %{__libtoolize}
89 %{__aclocal} -I build
90 %{__autoconf}
91 %{__autoheader}
92 %{__automake}
93 CXXFLAGS="%{rpmcxxflags} -std=c++0x"
94 %configure \
95         --disable-silent-rules \
96         %{?with_static_libs:--enable-static}
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkspellmm-3.0.la
105
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 NEWS README
115 %attr(755,root,root) %{_libdir}/libgtkspellmm-3.0.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libgtkspellmm-3.0.so.0
117
118 %files devel
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libgtkspellmm-3.0.so
121 %{_includedir}/gtkspellmm-3.0
122 %dir %{_libdir}/gtkspellmm-3.0
123 %{_libdir}/gtkspellmm-3.0/include
124 %{_pkgconfigdir}/gtkspellmm-3.0.pc
125
126 %if %{with static_libs}
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/libgtkspellmm-3.0.a
130 %endif
131
132 %files apidocs
133 %defattr(644,root,root,755)
134 %{_docdir}/gtkspellmm-3.0
135 %{_datadir}/devhelp/books/gtkspellmm-3.0
This page took 0.753491 seconds and 3 git commands to generate.