File: gtkspellmm30.spec.in

package info (click to toggle)
gtkspellmm 3.0.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,008 kB
  • sloc: sh: 4,113; perl: 235; xml: 157; makefile: 74; cpp: 74
file content (70 lines) | stat: -rw-r--r-- 1,992 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Name:          gtkspellmm30
Version:       3.@GTKSPELLMM_VERSION_MINOR@.@GTKSPELLMM_VERSION_MICRO@
Release:       1%{?dist}
License:       GPLv2+
Group:         System Environment/Libraries
Summary:       On-the-fly spell checking for GtkTextView widgets - C++ bindings
URL:           http://gtkspell.sourceforge.net/
Source0:       http://sourceforge.net/projects/gtkspell/files/gtkspellmm/gtkspellmm-%{version}.tar.gz

BuildRequires: gtkspell3-devel gtkmm30-devel gtkmm30-doc

%description
GtkSpell provides word-processor-style highlighting and replacement of 
misspelled words in a GtkTextView widget as you type. Right-clicking a
misspelled word pops up a menu of suggested replacements.

%package       devel
Group:         Development/Libraries
Summary:       Development files for gtkspellmm30
Requires:      gtkspell3-devel gtkmm30-devel
Requires:      pkgconfig
Requires:      %{name}%{?_isa} = %{version}-%{release}

%description   devel
The gtkspellmm30-devel package provides header and documentation files for
developing C++ applications which use GtkSpell.

%package       doc
Group:         Documentation
Summary:       Documentation for %{name}
BuildArch:     noarch
Requires:      gtkmm30-doc

%description   doc
This package contains the full API documentation for %{name}.

%prep
%setup -q -n gtkspellmm-%{version}

%build
%configure

make %{?_smp_mflags}

%install
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/libgtkspellmm-3.0.so.0*

%files devel
%{_includedir}/gtkspellmm-3.0
%{_libdir}/libgtkspellmm-3.0.so
%{_libdir}/pkgconfig/gtkspellmm-3.0.pc
%{_libdir}/gtkspellmm-3.0

%files doc
%doc COPYING
%{_datadir}/devhelp/books/gtkspellmm-3.0
%{_datadir}/doc/gtkspellmm-3.0

%changelog
* Fri Mar 08 2013 Sandro Mani <manisandro@gmail.com> - 3.@GTKSPELLMM_VERSION_MINOR@.@GTKSPELLMM_VERSION_MICRO@-1
- Initial package.