blob: 1b664dbeb279a4b1f68ea96c668f5fe677aeec23 (
plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
%define desktop_vendor rockers
Name: gwenview
Summary: Gwenview is an image viewer for KDE.
Version: 0.16.2
Release: 0
License: GPL
Group: Amusements/Graphics
Source: http://prdownloads.sourceforge.net/gwenview/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root
Url: http://gwenview.sourceforge.net/home/
Requires: libpng, kdebase >= 3.0
BuildRequires: libpng-devel, kdelibs-devel, arts-devel, libjpeg-devel
BuildRequires: XFree86-devel, zlib-devel, qt-devel >= 3.0.2
%description
Gwenview is an image viewer for KDE.
It features a folder tree window and a file list window to
provide easy navigation among your thousand images.
Image loading is done by the Qt library, giving you access
to all image formats your Qt installation supports, but
Gwenview can also browse GIMP files (*.xcf) thanks to the
included QXCFI component developed by Lignum Computing.
Gwenview correctly displays images with alpha channel,
using the traditionnal checker board as a background to
reveal transparency.
%prep
rm -rf %{buildroot}
%setup -q
%build
%configure --with-xinerama
make %{_smp_mflags}
%install
%makeinstall
desktop-file-install --vendor %{desktop_vendor} --delete-original \
--dir %{buildroot}%{_datadir}/applications \
--add-category X-Red-Hat-Extra \
--add-category Application \
--add-category Graphics \
%{buildroot}%{_datadir}/applnk/Graphics/%{name}.desktop
rm -rf %{buildroot}%{_datadir}/applnk
mv %{buildroot}%{_datadir}/hicolor/16x16/actions/ \
%{buildroot}%{_datadir}/icons/hicolor/16x16
mkdir %{buildroot}%{_datadir}/icons/hicolor/22x22
mv %{buildroot}%{_datadir}/hicolor/22x22/actions/ \
%{buildroot}%{_datadir}/icons/hicolor/22x22
mv %{buildroot}%{_datadir}/hicolor/32x32/actions/ \
%{buildroot}%{_datadir}/icons/hicolor/32x32
rm -rf %{buildroot}%{_datadir}/hicolor
%clean
rm -rf %{buildroot}
%post
%postun
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README INSTALL CREDITS TODO NEWS
%{_bindir}/%{name}*
%{_mandir}/man1/%{name}*
%{_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop
%{_datadir}/applications/%{desktop_vendor}-%{name}.desktop
%{_datadir}/icons/*/*/*/*
%{_datadir}/locale/*/LC_MESSAGES/%{name}*
%changelog
* Fri Feb 14 2003 Robert Rockers <brockers at dps.state.ok.us> 0.16.2
- Recompiled for version 0.16.2
* Fri Feb 7 2003 Robert Rockers <brockers at dps.state.ok.us> 0.16.1
- Initial RedHat RPM release.
|