source: projects/specs/trunk/m/mate-file-archiver/mate-file-archiver-vl.spec @ 8068

Revision 8068, 2.8 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary:        Archive manipulator for MATE
2Name:           mate-file-archiver
3Version:        1.6.0
4Release:        2%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          Applications/Archiving
8URL:            http://mate-desktop.org/
9
10BuildRequires:  mate-common
11BuildRequires:  mate-doc-utils
12BuildRequires:  gtk2-devel
13BuildRequires:  libSM-devel
14BuildRequires:  gtk-doc
15BuildRequires:  autoconf
16BuildRequires:  automake
17
18Requires(posttrans,postun):     glib2
19Requires(post,postun):  gtk2
20Requires(post,postun):  desktop-file-utils
21
22BuildRoot:      %{_tmppath}/%{name}-%{version}-root
23
24Vendor:         Project Vine
25Distribution:   Vine Linux
26Packager:       Takemikaduchi
27
28
29%description
30Engrampa is an archive manager for the MATE environment.  This means
31that you can create and modify archives; view the content of an archive;
32view and modify a file contained in the archive; extract files from the
33archive.
34
35
36%prep
37%setup -q
38
39
40%build
41(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
42%configure \
43        --libexecdir=%{_libexecdir}/mate \
44        --disable-static
45
46%{__make} %{?_smp_mflags}
47
48
49%install
50%{__rm} -rf ${RPM_BUILD_ROOT}
51
52%{__make} install DESTDIR=${RPM_BUILD_ROOT}
53
54find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
55find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
56
57%find_lang engrampa
58
59
60%clean
61%{__rm} -rf ${RPM_BUILD_ROOT}
62
63%post
64/sbin/ldconfig
65update-desktop-database %{_datadir}/applications >& /dev/null ||:
66touch --no-create %{_datadir}/icons/hicolor
67gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
68
69%postun
70/sbin/ldconfig
71if [ $1 -eq 0 ]; then
72  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
73  update-desktop-database %{_datadir}/applications >& /dev/null ||:
74  touch --no-create %{_datadir}/icons/hicolor
75  gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
76fi
77
78%posttrans
79glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
80
81
82%files -f engrampa.lang
83%defattr(-,root,root,-)
84%doc COPYING ChangeLog NEWS README
85%{_bindir}/engrampa
86%{_libexecdir}/mate/engrampa/isoinfo.sh
87%{_libexecdir}/mate/engrampa/rpm2cpio
88%{_datadir}/MateConf/gsettings/engrampa.convert
89%{_datadir}/applications/engrampa.desktop
90%{_datadir}/engrampa
91%{_datadir}/glib-2.0/schemas/org.mate.engrampa.gschema.xml
92%{_datadir}/icons/hicolor/*/*/*
93%{_datadir}/mate/help/engrampa
94%{_datadir}/omf/engrampa
95
96
97%changelog
98* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
99- rebuild with VineSeed environment
100
101* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
102- new upstream release
103
104* Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
105- new upstream release
106
107* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
108- new upstream release
109
110* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
111- change category
112
113* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
114- initial build for Vine Linux
115
Note: See TracBrowser for help on using the repository browser.