1 | Summary: The MATE shell and file manager |
---|
2 | Name: mate-file-manager |
---|
3 | Version: 1.6.3 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz |
---|
7 | |
---|
8 | Patch0: mate-file-manager-1.2.2-makefile.patch |
---|
9 | |
---|
10 | # for Vine |
---|
11 | Patch2000: mate-file-manager-vine-settings.patch |
---|
12 | |
---|
13 | License: GPLv2 |
---|
14 | Group: User Interface/Desktops |
---|
15 | URL: http://mate-desktop.org/ |
---|
16 | |
---|
17 | BuildRequires: mate-common |
---|
18 | BuildRequires: mate-desktop-devel |
---|
19 | BuildRequires: gtk2-devel |
---|
20 | BuildRequires: pangox-compat-devel |
---|
21 | BuildRequires: libxml2-devel |
---|
22 | BuildRequires: libSM-devel |
---|
23 | BuildRequires: unique-devel |
---|
24 | BuildRequires: libexif-devel |
---|
25 | BuildRequires: exempi-devel |
---|
26 | BuildRequires: gtk-doc |
---|
27 | BuildRequires: autoconf |
---|
28 | BuildRequires: automake |
---|
29 | |
---|
30 | Requires(posttrans,postun): glib2 |
---|
31 | Requires(post,postun): gtk2 |
---|
32 | Requires(post,postun): desktop-file-utils |
---|
33 | |
---|
34 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
35 | |
---|
36 | Vendor: Project Vine |
---|
37 | Distribution: Vine Linux |
---|
38 | Packager: Takemikaduchi |
---|
39 | |
---|
40 | |
---|
41 | %description |
---|
42 | This is Caja, the file manager for the MATE desktop. |
---|
43 | |
---|
44 | |
---|
45 | %package devel |
---|
46 | Summary: Development tools for mate-file-manager |
---|
47 | Summary(ja): mate-file-manager の開発環境 |
---|
48 | Group: Development/Libraries |
---|
49 | Requires: %{name} = %{version}-%{release} |
---|
50 | Requires: pkgconfig |
---|
51 | |
---|
52 | %description devel |
---|
53 | Header files and libraries for building a extension library for the |
---|
54 | mate-file-manager. |
---|
55 | |
---|
56 | |
---|
57 | %package doc |
---|
58 | Summary: Documentation for mate-file-manager |
---|
59 | Summary(ja): mate-file-manager 用のドキュメント |
---|
60 | Group: Documentation |
---|
61 | Requires: %{name} = %{version}-%{release} |
---|
62 | BuildArch: noarch |
---|
63 | |
---|
64 | %description doc |
---|
65 | This package contains documentation for mate-file-manager. |
---|
66 | |
---|
67 | |
---|
68 | %prep |
---|
69 | %setup -q |
---|
70 | %patch0 -p1 |
---|
71 | %patch2000 -p1 -b .vine |
---|
72 | |
---|
73 | |
---|
74 | %build |
---|
75 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
76 | %configure \ |
---|
77 | --libexecdir=%{_libexecdir}/mate \ |
---|
78 | --disable-static \ |
---|
79 | --disable-scrollkeeper \ |
---|
80 | --enable-unique \ |
---|
81 | --disable-update-mimedb |
---|
82 | |
---|
83 | %{__make} %{?_smp_mflags} |
---|
84 | |
---|
85 | |
---|
86 | %install |
---|
87 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
88 | |
---|
89 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
90 | |
---|
91 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
92 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
93 | |
---|
94 | %find_lang caja |
---|
95 | |
---|
96 | |
---|
97 | %clean |
---|
98 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
99 | |
---|
100 | |
---|
101 | %post |
---|
102 | /sbin/ldconfig |
---|
103 | |
---|
104 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
105 | touch --no-create %{_datadir}/icons/hicolor |
---|
106 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
107 | |
---|
108 | %postun |
---|
109 | /sbin/ldconfig |
---|
110 | if [ $1 -eq 0 ]; then |
---|
111 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
112 | touch --no-create %{_datadir}/icons/hicolor |
---|
113 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
114 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
115 | fi |
---|
116 | |
---|
117 | %posttrans |
---|
118 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
119 | |
---|
120 | |
---|
121 | %files -f caja.lang |
---|
122 | %defattr(-,root,root,-) |
---|
123 | %doc COPYING ChangeLog NEWS README |
---|
124 | %{_bindir}/caja |
---|
125 | %{_bindir}/caja-autorun-software |
---|
126 | %{_bindir}/caja-connect-server |
---|
127 | %{_bindir}/caja-file-management-properties |
---|
128 | %{_libdir}/libcaja-extension.so.* |
---|
129 | %{_libdir}/girepository-1.0/Caja-2.0.typelib |
---|
130 | %{_libexecdir}/mate/caja-convert-metadata |
---|
131 | %{_datadir}/MateConf/gsettings/caja.convert |
---|
132 | %{_datadir}/applications/*.desktop |
---|
133 | %{_datadir}/caja |
---|
134 | %{_datadir}/dbus-1/services/org.mate.freedesktop.FileManager1.service |
---|
135 | %{_datadir}/glib-2.0/schemas/org.mate.caja.gschema.xml |
---|
136 | %{_datadir}/glib-2.0/schemas/org.mate.media-handling.gschema.xml |
---|
137 | %{_datadir}/icons/hicolor/*/*/* |
---|
138 | %{_datadir}/mime/packages/caja.xml |
---|
139 | %{_datadir}/pixmaps/caja |
---|
140 | %{_mandir}/man1/*.1.gz |
---|
141 | |
---|
142 | %files devel |
---|
143 | %defattr(-,root,root,-) |
---|
144 | %{_includedir}/caja |
---|
145 | %{_libdir}/libcaja-extension.so |
---|
146 | %{_libdir}/pkgconfig/libcaja-extension.pc |
---|
147 | %{_datadir}/gir-1.0/Caja-2.0.gir |
---|
148 | |
---|
149 | %files doc |
---|
150 | %defattr(-,root,root,-) |
---|
151 | %{_datadir}/gtk-doc/html/libcaja-extension |
---|
152 | |
---|
153 | |
---|
154 | %changelog |
---|
155 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1 |
---|
156 | - new upstream release |
---|
157 | |
---|
158 | * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2 |
---|
159 | - add Patch2000 (mate-file-manager-vine-settings.patch) |
---|
160 | |
---|
161 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
165 | - new upstream release |
---|
166 | - remove BuildRequires: mate-conf-devel |
---|
167 | - add BuildRequires: pangox-compat-devel |
---|
168 | |
---|
169 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
170 | - new upstream release |
---|
171 | |
---|
172 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1 |
---|
173 | - new upstream release |
---|
174 | - add Patch0 (mate-file-manager-1.2.2-makefile.patch) |
---|
175 | |
---|
176 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
177 | - change category |
---|
178 | |
---|
179 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
180 | - initial build for Vine Linux |
---|
181 | |
---|