9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-gtksourceview
|
|
3 |
#
|
|
4 |
# includes module(s): gtksourceview
|
|
5 |
#
|
|
6 |
# Copyright (c) 2003 Sun Microsystems, Inc.
|
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
# Owner: hawklu
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
%use gtksourceview = gtksourceview.spec
|
9965
|
14 |
%use gsv2 = gtksourceview2.spec
|
9397
|
15 |
|
|
16 |
Name: SUNWgnome-gtksourceview
|
|
17 |
Summary: GNOME syntax highlighting text widget
|
|
18 |
Version: %{default_pkg_version}
|
|
19 |
Source: %{name}-manpages-0.1.tar.gz
|
|
20 |
SUNW_BaseDir: %{_basedir}
|
12028
|
21 |
SUNW_Copyright: %{name}.copyright
|
9397
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
|
|
24 |
%include default-depend.inc
|
|
25 |
Requires: SUNWgnome-base-libs
|
|
26 |
Requires: SUNWgnome-print
|
|
27 |
BuildRequires: SUNWgnome-base-libs-devel
|
|
28 |
BuildRequires: SUNWgnome-print-devel
|
|
29 |
|
|
30 |
%package devel
|
|
31 |
Summary: %{summary} - development files
|
|
32 |
SUNW_BaseDir: %{_basedir}
|
|
33 |
%include default-depend.inc
|
|
34 |
Requires: %name
|
|
35 |
|
|
36 |
%if %build_l10n
|
|
37 |
%package l10n
|
|
38 |
Summary: %{summary} - l10n files
|
|
39 |
SUNW_BaseDir: %{_basedir}
|
|
40 |
%include default-depend.inc
|
|
41 |
Requires: %{name}
|
|
42 |
%endif
|
|
43 |
|
|
44 |
%prep
|
|
45 |
rm -rf %name-%version
|
|
46 |
mkdir %name-%version
|
|
47 |
%gtksourceview.prep -d %name-%version
|
9965
|
48 |
%gsv2.prep -d %name-%version
|
9397
|
49 |
cd %{_builddir}/%name-%version
|
|
50 |
gzcat %SOURCE0 | tar xf -
|
|
51 |
|
|
52 |
|
|
53 |
%build
|
|
54 |
%gtksourceview.build -d %name-%version
|
9965
|
55 |
%gsv2.build -d %name-%version
|
9397
|
56 |
|
|
57 |
%install
|
|
58 |
rm -rf $RPM_BUILD_ROOT
|
|
59 |
%gtksourceview.install -d %name-%version
|
9965
|
60 |
%gsv2.install -d %name-%version
|
9397
|
61 |
|
|
62 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
63 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
64 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
65 |
|
|
66 |
chmod 755 $RPM_BUILD_ROOT%{_mandir}/man3/*.3
|
|
67 |
|
|
68 |
%if %build_l10n
|
|
69 |
%else
|
|
70 |
# REMOVE l10n FILES
|
|
71 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
72 |
%endif
|
|
73 |
|
|
74 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
75 |
|
|
76 |
%clean
|
|
77 |
rm -rf $RPM_BUILD_ROOT
|
|
78 |
|
|
79 |
%files
|
9780
|
80 |
%defattr (-, root, bin)
|
9397
|
81 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
82 |
%{_libdir}/lib*.so*
|
|
83 |
%dir %attr (0755, root, sys) %{_datadir}
|
9963
|
84 |
%{_datadir}/gtksourceview-1.0
|
9965
|
85 |
%{_datadir}/gtksourceview-2.0
|
9397
|
86 |
|
|
87 |
%files devel
|
|
88 |
%defattr (-, root, bin)
|
|
89 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
90 |
%{_libdir}/pkgconfig/*
|
|
91 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
92 |
%{_includedir}/*
|
|
93 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
94 |
%{_datadir}/gtk-doc/*
|
|
95 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
96 |
%dir %attr(0755, root, bin) %{_mandir}/man3
|
|
97 |
%{_mandir}/man3/*
|
|
98 |
|
|
99 |
%if %build_l10n
|
|
100 |
%files l10n
|
|
101 |
%defattr (-, root, bin)
|
|
102 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
103 |
%attr (-, root, other) %{_datadir}/locale
|
|
104 |
%endif
|
|
105 |
|
|
106 |
%changelog
|
12028
|
107 |
* Thu Apr 03 2008 - [email protected]
|
|
108 |
- Add file SUNWgnome-gtksourceview.copyright.
|
9963
|
109 |
* Wed May 30 2007 - [email protected]
|
9965
|
110 |
- Add gtksourceview2.spec to support version 2.x of gtksourceview which is not
|
|
111 |
ABI/API compatible with version 1.x.
|
|
112 |
* Wed May 30 2007 - [email protected]
|
9963
|
113 |
- Revert dir name in %files, s/2.0/1.0/ as gtksourceview has been reverted from
|
|
114 |
1.90.0 to 1.8.5 so that gedit and gnome-python-desktop can build.
|
9949
|
115 |
* Mon May 28 2007 - [email protected]
|
|
116 |
- Update dir name in %files, s/1.0/2.0/.
|
9780
|
117 |
* Tue Apr 24 2007 - [email protected]
|
|
118 |
- s/0755/-/ in defattr so that files are not made all executable
|
9397
|
119 |
* Mon Sep 04 2006 - [email protected]
|
|
120 |
- New Manpage tarball
|
|
121 |
* Thu Jun 29 2006 - [email protected]
|
|
122 |
- move gtksourceview into its own pkg due to dependency issues.
|
|
123 |
|