-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgimageview.spec.in
120 lines (91 loc) · 2.93 KB
/
gimageview.spec.in
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
%define name @PACKAGE@
%define version @VERSION@
%define rel 1
# %define prefix /usr
Summary: a GTK+ based image viewer
Name: %{name}
Version: %{version}
Release: %{rel}
Copyright: GPL
Group: Applications/Multimedia
URL: http://www.homa.ne.jp/~ashie/gimageview/
Source0: http://prdownloads.sourceforge.net/gtkmmviewer/%{name}-%{version}.tar.gz
Requires: glib >= @GLIB_REQUIRED@, gtk+ >= @GTK_REQUIRED@, gdk-pixbuf >= @GDK_PIXBUF_REQUIRED@
BuildRequires: gtk+-devel gdk-pixbuf-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# NoSource: 0
%description
GImageView is a GTK+ based image viewer.
It support tabbed browsing, thumbnail table views, directory tree views,
drag and drop, reading thumbnail cache of other famous image viewers,
and flexible user interface.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
if [ ! -f configure ]; then
./autogen.sh
fi
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
%{__make}
%install
%{__rm} -rf $RPM_BUILD_ROOT
#%{__make} install prefix=$RPM_BUILD_ROOT%{_prefix}
%{makeinstall}
%find_lang %{name}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc %{_docdir}/%{name}
%{_bindir}/gimv
%{_datadir}/pixmaps/gimv.png
%{_datadir}/gnome/apps/Graphics/gimageview.desktop
%{_datadir}/%{name}/gtkrc
%{_datadir}/%{name}/mplayerrc
%{_datadir}/%{name}/pixmaps/default/*.xpm
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%{_libdir}/%{name}/*/*.so
%{_libdir}/%{name}/*/*.la
%changelog
* Tue Aug 10 2004 Takuro Ashie <ashie@homa.ne.jp>
- add %{_libdir}/%{name}/*/*.la
* Mon May 19 2003 Takuro Ashie <ashie@homa.ne.jp>
- add mplayerrc
* Sat Aug 31 2002 Takuro Ashie <ashie@homa.ne.jp>
- moved document directory under %_docdir.
* Wed Aug 28 2002 Takuro Ashie <ashie@homa.ne.jp>
- added japanese HTML files.
* Sun May 21 2002 Takuro Ashie <ashie@homa.ne.jp>
- added gtkrc and gimageview.desktop files.
* Sun Feb 23 2002 Takuro Ashie <ashie@homa.ne.jp>
- Modified to use gdk-pixbuf instead of imlib.
- Replaced "gimageview" directory to %{name}
* Sun Feb 17 2002 Takuro Ashie <ashie@homa.ne.jp>
- Bug fix.
* Thu Feb 12 2002 Takuro Ashie <ashie@homa.ne.jp>
- Update to 0.1.97
* Thu Jan 3 2002 ARAKI Manabu <hora@st.rim.or.jp>
- 0.1.7-0vl1
* Tue Dec 25 2001 ARAKI Manabu <hora@st.rim.or.jp>
- 0.1.6-0vl1
* Mon Dec 10 2001 ARAKI Manabu <hora@st.rim.or.jp>
- 0.1.5-0vl1
- change Source0
* Thu Nov 15 2001 ARAKI Manabu <hora@st.rim.or.jp>
- 0.1.3-0vl1
- build for Vine Linux 2.1.*
- modify spec file (base: 0.1.2-3k.nosrc.rpm)
- add Japanese summary and description.
* Sat Nov 02 2001 Ogawa Youhei <t-nyan2@nifty.com>
- for version 0.1.2
* Sat Nov 02 2001 Ogawa Youhei <t-nyan2@nifty.com>
- change files section for 2001-11-01 nightly
* Sat Oct 15 2001 Ogawa Youhei <t-nyan2@nifty.com>
- for nightly
* Sat Oct 12 2001 Ogawa Youhei <t-nyan2@nifty.com>
- for version 0.1.1
* Sat Sep 08 2001 Ogawa Youhei <t-nyan2@nifty.com>
- for version 0.1.0
* Sat Sep 08 2001 Ogawa Youhei <t-nyan2@nifty.com>
- Initial build.