author | davelam |
Wed, 24 Feb 2010 04:10:23 +0000 | |
branch | gnome-2-28 |
changeset 18642 | 478b5460cc36 |
parent 16747 | 334bb44757af |
permissions | -rw-r--r-- |
12845 | 1 |
# |
2 |
# |
|
3 |
# spec file for package SUNWgqview |
|
4 |
# |
|
5 |
# includes module(s): gqview |
|
6 |
# |
|
7 |
# Copyright 2008 Sun Microsystems, Inc. |
|
8 |
# This file and all modifications and additions to the pristine |
|
9 |
# package are under the same license as the package itself. |
|
10 |
# |
|
16434 | 11 |
%define owner jouby |
12845 | 12 |
|
13 |
%include Solaris.inc |
|
14 |
%use gqview = gqview.spec |
|
15 |
Name: SUNWgqview |
|
16 |
Summary: GQview - Image browser |
|
17 |
URL: http://gqview.sourceforge.net/ |
|
16379 | 18 |
License: GPL v2 |
12845 | 19 |
Version: %{gqview.version} |
20 |
Source: http://prdownloads.sourceforge.net/gqview/gqview-%{version}.tar.gz |
|
21 |
SUNW_BaseDir: %{_basedir} |
|
12851 | 22 |
SUNW_Copyright: SUNWgqview.copyright |
12845 | 23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
24 |
%include default-depend.inc |
|
15833
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15650
diff
changeset
|
25 |
Requires: SUNWuiu8 |
15650 | 26 |
Requires: SUNWgtk2 |
16747
334bb44757af
add dependence SUNWlcms for SUNWgqview to fix CR 6886498
jouby
parents:
16434
diff
changeset
|
27 |
Requires: SUNWlcms |
15650 | 28 |
BuildRequires: SUNWgtk2-devel |
12890 | 29 |
BuildRequires: SUNWgnome-common-devel |
12845 | 30 |
|
31 |
%if %build_l10n |
|
32 |
%package l10n |
|
33 |
Summary: %{summary} - l10n files |
|
34 |
SUNW_BaseDir: %{_basedir} |
|
35 |
%include default-depend.inc |
|
36 |
Requires: %{name} |
|
37 |
%endif |
|
38 |
||
39 |
%prep |
|
40 |
rm -rf %name-%version |
|
41 |
mkdir %name-%version |
|
42 |
%gqview.prep -d %name-%version |
|
43 |
||
44 |
%build |
|
45 |
export CFLAGS="%optflags -DEDITOR_GIMP" |
|
46 |
export LDFLAGS="-lX11 -lsocket" |
|
47 |
%gqview.build -d %name-%version |
|
48 |
||
49 |
%install |
|
50 |
%gqview.install -d %name-%version |
|
12909 | 51 |
if [ -d $RPM_BUILD_ROOT/%{_libdir}/locale ]; then |
52 |
mv $RPM_BUILD_ROOT/%{_libdir}/locale $RPM_BUILD_ROOT/%{_datadir}/ |
|
53 |
rm -r $RPM_BUILD_ROOT/%{_libdir} |
|
54 |
fi |
|
12845 | 55 |
%if %{build_l10n} |
13214 | 56 |
mv $RPM_BUILD_ROOT%{_datadir}/locale/zh_CN.GB2312 $RPM_BUILD_ROOT%{_datadir}/locale/zh_CN |
12845 | 57 |
%else |
58 |
rm -r $RPM_BUILD_ROOT/%{_datadir}/locale |
|
59 |
%endif |
|
60 |
||
61 |
%clean |
|
62 |
rm -rf $RPM_BUILD_ROOT |
|
63 |
||
64 |
%files |
|
13619 | 65 |
%doc -d gqview-%{gqview.version} README AUTHORS |
66 |
%doc(bzip2) -d gqview-%{gqview.version} COPYING ChangeLog NEWS |
|
67 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
12845 | 68 |
%defattr(-, root, bin) |
69 |
%dir %attr (0755, root, bin) %{_bindir} |
|
70 |
%{_bindir}/* |
|
71 |
%dir %attr (0755, root, sys) %{_datadir} |
|
72 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
73 |
%{_datadir}/applications/* |
|
13619 | 74 |
%{_datadir}/doc/gqview-%{gqview.version} |
12845 | 75 |
%dir %attr(0755, root, bin) %{_mandir} |
76 |
%dir %attr(0755, root, bin) %{_mandir}/man1 |
|
77 |
%{_mandir}/man*/* |
|
78 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps |
|
79 |
%{_datadir}/pixmaps/* |
|
80 |
||
81 |
%if %build_l10n |
|
82 |
%files l10n |
|
83 |
%defattr (-, root, bin) |
|
84 |
%dir %attr (0755, root, sys) %{_datadir} |
|
85 |
%attr (-, root, other) %{_datadir}/locale |
|
86 |
%endif |
|
87 |
||
88 |
%changelog |
|
16747
334bb44757af
add dependence SUNWlcms for SUNWgqview to fix CR 6886498
jouby
parents:
16434
diff
changeset
|
89 |
* Wen Oct 14 2009 - [email protected] |
334bb44757af
add dependence SUNWlcms for SUNWgqview to fix CR 6886498
jouby
parents:
16434
diff
changeset
|
90 |
- add dependence SUNWlcms to fix CR 6886498 |
15967 | 91 |
* Fri Jun 26 2009 - [email protected] |
92 |
- Change owner jouby |
|
15833
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15650
diff
changeset
|
93 |
* Tue Jun 02 2009 - [email protected] |
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15650
diff
changeset
|
94 |
- fixed dependency issue(CR6843581). |
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15650
diff
changeset
|
95 |
- removed the obsoleted option %option_with_gnu_iconv. |
13619 | 96 |
* Mon Sep 16 2008 - [email protected] |
97 |
- Revised copyright file |
|
13214 | 98 |
* Wed Aug 21 2008 - [email protected] |
99 |
- Move #6734879's fix to Solaris spec from base spec |
|
12890 | 100 |
* Wed Jul 23 2008 - [email protected] |
12909 | 101 |
- Check that installed dirs exist before removing or moving them. |
102 |
||
103 |
* Wed Jul 23 2008 - [email protected] |
|
12890 | 104 |
- Add Build/Requires SUNWgnome-base-libs/-devel because gtk+ is required. Also |
105 |
add BuildRequires SUNWgnome-common-devel because pkg-config is used by |
|
106 |
configure. |
|
107 |
||
108 |
* Tue Jul 7 2008 - [email protected] |
|
12845 | 109 |
- Initial build. |
110 |