source: projects/specs/trunk/e/engrampa/engrampa-vl.spec @ 9120

Revision 9120, 3.2 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

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