]> git.pld-linux.org Git - packages/engrampa.git/blame - engrampa.spec
- x32 rebuild
[packages/engrampa.git] / engrampa.spec
CommitLineData
fedc4b80
JB
1#
2# Conditional build:
aeb6e27f 3%bcond_without caja # Caja support
fedc4b80
JB
4%bcond_with gtk3 # use GTK+ 3.x instead of 2.x
5#
6Summary: Engrampa - an archive manager for MATE
7Summary(pl.UTF-8): Engrampa - zarządca archiwów dla środowiska MATE
8Summary(pt_BR.UTF-8): Engrampa - gerenciador de arquivos compactados para o MATE
aeb6e27f 9Name: engrampa
dc6ee497 10Version: 1.8.1
0a18773d 11Release: 2
fedc4b80
JB
12License: GPL v2+
13Group: X11/Applications
aeb6e27f 14Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
dc6ee497 15# Source0-md5: 933ba9d4bdac0c7ac53a57a6e6e11300
fedc4b80
JB
16URL: http://mate-desktop.org/
17BuildRequires: autoconf >= 2.61
18BuildRequires: automake >= 1:1.9
c99cc1f4 19%{?with_caja:BuildRequires: caja-devel >= 1.1.0}
fedc4b80 20BuildRequires: docbook-dtd412-xml
13b9b4cc 21BuildRequires: gettext-tools >= 0.10.40
fedc4b80
JB
22BuildRequires: glib2-devel >= 1:2.26.0
23%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.22.0}
24%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.0.0}
25BuildRequires: intltool >= 0.35.0
c99cc1f4 26BuildRequires: json-glib-devel >= 0.14.0
fedc4b80
JB
27BuildRequires: libtool >= 1:1.4.3
28BuildRequires: libxml2-progs
29BuildRequires: mate-common
fedc4b80 30BuildRequires: pkgconfig
4737763c 31BuildRequires: rpmbuild(find_lang) >= 1.36
fedc4b80
JB
32BuildRequires: rpmbuild(macros) >= 1.311
33BuildRequires: scrollkeeper
34BuildRequires: tar >= 1:1.22
35# libegg
36BuildRequires: xorg-lib-libSM-devel
37BuildRequires: xz
38Requires(post,postun): desktop-file-utils
39Requires(post,postun): gtk-update-icon-cache
40Requires(post,postun): hicolor-icon-theme
41Requires(post,postun): scrollkeeper
42Requires: glib2 >= 1:2.26.0
b7847ed3
JB
43%{!?with_gtk3:Requires: gtk+2 >= 2:2.22.0}
44%{?with_gtk3:Requires: gtk+3 >= 3.0.0}
c99cc1f4 45Requires: json-glib >= 0.14.0
fedc4b80
JB
46Suggests: bzip2
47Suggests: gzip
48Suggests: p7zip
49%ifarch %{ix86}
50Suggests: rar
51%else
52Suggests: unrar
53%endif
54Suggests: tar
55Suggests: zip
aeb6e27f 56Obsoletes: mate-file-archiver
fedc4b80
JB
57BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58
59%description
60Engrampa is an archive manager for the MATE environment. It's a fork
61of File Roller from GNOME. With Engrampa you can: create and modify
62archives; view the content of an archive; view and modify a file
63contained in the archive; extract files from the archive.
64
65%description -l pl.UTF-8
66Engrampa to zarządca archiwów dla środowiska MATE. Jest to
67odgałęzienie programu File Roller z GNOME. Przy jego pomocy można:
68tworzyć i modyfikować archiwa, oglądać ich zawartość, oglądać i
69modyfikować poszczególne pliki zawarte w archiwum oraz rozpakowywać
70pliki z archiwów.
71
72%description -l pt_BR.UTF-8
73Engrampa é um gerenciador de pacotes de arquivos compactados para o
74ambiente MATE. Com ele é possível criar arquivos, visualizar o
75conteúdo de arquivos existentes, visualizar um arquivo contido em um
76pacote e extrair os arquivos de um pacote.
77
aeb6e27f 78%package -n caja-extension-engrampa
fedc4b80
JB
79Summary: Engrampa (archive manager) extension for Caja (MATE file manager)
80Summary(pl.UTF-8): Rozszerzenie Engrampa (zarządca archiwów) dla zarządcy plików Caja
81Group: X11/Applications
82Requires: %{name} = %{version}-%{release}
aeb6e27f
JP
83Requires: caja >= 1.1.0
84Obsoletes: mate-file-manager-extension-engrampa
fedc4b80 85
aeb6e27f 86%description -n caja-extension-engrampa
fedc4b80
JB
87Engrampa (archive manager) extension for Caja (MATE file manager).
88
aeb6e27f 89%description -n caja-extension-engrampa -l pl.UTF-8
fedc4b80
JB
90Rozszerzenie Engrampa (zarządca archiwów) dla zarządcy plików Caja.
91
92%prep
93%setup -q
94
95%build
fedc4b80
JB
96%{__intltoolize}
97%{__libtoolize}
98%{__aclocal}
99%{__autoconf}
100%{__autoheader}
101%{__automake}
102%configure \
103 %{!?with_caja:--disable-caja-actions} \
104 --disable-silent-rules \
105 --disable-static \
106 %{?with_gtk3:--with-gtk=3.0}
107
108%{__make}
109
110%install
111rm -rf $RPM_BUILD_ROOT
112
113%{__make} install \
114 DESTDIR=$RPM_BUILD_ROOT
115
116%{__rm} $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/*.la
117
118# just a copy of ur
119%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
120# update naming convention
121%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{sr@ije,sr@ijekavian}
122
123# mate < 1.5 did not exist in pld, avoid dependency on mate-conf
124%{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/engrampa.convert
125
c99cc1f4 126%find_lang engrampa --with-mate
fedc4b80
JB
127
128%clean
129rm -rf $RPM_BUILD_ROOT
130
131%post
132%glib_compile_schemas
fedc4b80
JB
133%update_desktop_database_post
134%update_icon_cache hicolor
135
136%postun
137%glib_compile_schemas
fedc4b80
JB
138%update_desktop_database_postun
139%update_icon_cache hicolor
140
141%files -f engrampa.lang
142%defattr(644,root,root,755)
143%doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO
144%attr(755,root,root) %{_bindir}/engrampa
7833d4e8
JB
145%dir %{_libdir}/engrampa
146%attr(755,root,root) %{_libdir}/engrampa/isoinfo.sh
147%attr(755,root,root) %{_libdir}/engrampa/rpm2cpio
fedc4b80
JB
148%{_datadir}/engrampa
149%{_datadir}/glib-2.0/schemas/org.mate.engrampa.gschema.xml
150%{_desktopdir}/engrampa.desktop
151%{_iconsdir}/hicolor/*/apps/engrampa.*
aeb6e27f 152%{_mandir}/man1/engrampa.1*
fedc4b80
JB
153
154%if %{with caja}
aeb6e27f 155%files -n caja-extension-engrampa
fedc4b80
JB
156%defattr(644,root,root,755)
157%attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-engrampa.so
158%endif
This page took 0.487711 seconds and 4 git commands to generate.