source: projects/specs/trunk/m/mate-file-manager/mate-file-manager-vl.spec @ 7697

Revision 7697, 4.1 KB checked in by Takemikaduchi, 11 years ago (diff)

Cinnamon 1.8.2 & MATE 1.6

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