]> git.pld-linux.org Git - packages/file-roller.git/blame - file-roller.spec
- updated to 3.36.3
[packages/file-roller.git] / file-roller.spec
CommitLineData
b976055d
JB
1#
2# Conditional build:
3%bcond_without nautilus # Nautilus extension
4#
31c27243 5Summary: An archive manager for GNOME
ae212014
ER
6Summary(pl.UTF-8): Zarządca archiwów dla GNOME
7Summary(pt_BR.UTF-8): Gerenciador de arquivos compactados para o GNOME
31c27243 8Name: file-roller
29ddf263 9Version: 3.36.3
b7584506 10Release: 1
a1d63170 11License: GPL v2+
bc516785 12Group: X11/Applications
c11af8e7 13Source0: http://ftp.gnome.org/pub/GNOME/sources/file-roller/3.36/%{name}-%{version}.tar.xz
29ddf263 14# Source0-md5: 1cadd4b42837d848e5d2da191f4112d6
ff319169
JB
15Patch0: %{name}-packages.patch
16URL: https://wiki.gnome.org/Apps/FileRoller
17fa215e 17BuildRequires: desktop-file-utils
b4483204 18BuildRequires: docbook-dtd412-xml
8fa5ed8a 19BuildRequires: gettext-tools
c11af8e7
JB
20BuildRequires: glib2-devel >= 1:2.38
21BuildRequires: gtk+3-devel >= 3.22.0
51032c45
ŁK
22BuildRequires: json-glib-devel >= 0.14.0
23BuildRequires: libarchive-devel >= 3.0.0
24BuildRequires: libnotify-devel >= 0.4.3
a1d63170 25BuildRequires: libtool >= 2:2
a3da2866 26BuildRequires: libxml2-progs
c11af8e7
JB
27BuildRequires: meson >= 0.50
28%{?with_nautilus:BuildRequires: nautilus-devel >= 3.28.0}
ff319169 29BuildRequires: ninja >= 1.5
8a61b2ca 30BuildRequires: pkgconfig
65b8f65c 31BuildRequires: rpmbuild(find_lang) >= 1.23
ff319169
JB
32BuildRequires: rpmbuild(macros) >= 1.736
33BuildRequires: tar >= 1:1.22
34BuildRequires: xz
51032c45 35BuildRequires: yelp-tools
00c5670b 36Requires(post,postun): desktop-file-utils
c11af8e7 37Requires(post,postun): glib2 >= 1:2.38
b8b8b51d 38Requires(post,postun): gtk-update-icon-cache
c11af8e7
JB
39Requires: glib2 >= 1:2.38
40Requires: gtk+3 >= 3.22.0
10d48041 41Requires: hicolor-icon-theme
a1d63170
JB
42Requires: json-glib >= 0.14.0
43Requires: libarchive >= 3.0.0
44Requires: libnotify >= 0.4.3
9e9f3fb0
PG
45Suggests: bzip2
46Suggests: gzip
47Suggests: p7zip
c2c6cb0d 48%ifarch %{ix86}
9e9f3fb0 49Suggests: rar
c2c6cb0d
JB
50%else
51Suggests: unrar
52%endif
9e9f3fb0
PG
53Suggests: tar
54Suggests: zip
31c27243 55BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cec9f965 56
57%description
31c27243 58File Roller is an archive manager for the GNOME environment. With File
b9656a53 59Roller you can: create and modify archives; view the content of an
31c27243 60archive; view a file contained in the archive; extract files from the
61archive. File Roller is only a front-end (a graphical interface) to
b9656a53 62various archiving programs. The supported file types are:
48b730b6 63- Tar archives uncompressed (.tar) or compressed with
84d723ef
MB
64 - gzip (.tar.gz , .tgz)
65 - bzip (.tar.bz , .tbz)
66 - bzip2 (.tar.bz2 , .tbz2)
67 - compress (.tar.Z , .taz)
68 - lzop (.tar.lzo , .tzo)
48b730b6 69- Zip archives (.zip)
70- Jar archives (.jar , .ear , .war)
71- Lha archives (.lzh)
72- Rar archives (.rar)
73- Single files compressed with gzip, bzip, bzip2, compress, lzop.
b9656a53 74
10ce1a3a
JR
75%description -l pl.UTF-8
76File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
77pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
78oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
79z archiwów. File Roller jest tylko interfejsem graficznym do
80właściwych programów archiwizujących. Obsługiwane typy plików to:
b9656a53 81- archiwa tar nieskompresowane (.tar) lub skompresowane programami:
84d723ef
MB
82 - gzip (.tar.gz, .tgz)
83 - bzip (.tar.bz, .tbz)
84 - bzip2 (.tar.bz2, .tbz2)
85 - compress (.tar.Z, .taz)
86 - lzop (.tar.lzo, .tzo)
b9656a53
JB
87- archiwa zip (.zip)
88- archiwa jar (.jar, .ear, .war)
89- archiwa lha (.lzh)
90- archiwa rar (.rar)
91- pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
92 compress, lzop.
cec9f965 93
10ce1a3a
JR
94%description -l pt_BR.UTF-8
95File Roller é um gerenciador de pacotes de arquivos compactados para o
96ambiente GNOME. Com ele é possível criar arquivos, visualizar o
97conteúdo de arquivos existentes, visualizar um arquivo contido em um
aede5ef1 98pacote e extrair os arquivos de um pacote.
99
598d6bde
MB
100%package -n nautilus-extension-file-roller
101Summary: File Roller (archive manager) extension for Nautilus (GNOME file manager)
102Summary(pl.UTF-8): Rozszerzenie File Roller (zarządca archiwów) Nautilusa (zarządcy plików GNOME)
103Group: X11/Applications
104Requires: %{name} = %{version}-%{release}
c11af8e7 105Requires: nautilus >= 3.28.0
598d6bde
MB
106
107%description -n nautilus-extension-file-roller
108File Roller (archive manager) extension for Nautilus (GNOME file
109manager).
110
111%description -n nautilus-extension-file-roller -l pl.UTF-8
112Rozszerzenie File Roller (zarządca archiwów) Nautilusa (zarządcy
113plików GNOME).
114
cec9f965 115%prep
31c27243 116%setup -q
ff319169 117%patch0 -p1
36d56671 118
cec9f965 119%build
ff319169
JB
120%meson build
121
122%ninja_build -C build \
123 %{!?with_nautilus:-Dnautilus-actions=false}
cec9f965 124
125%install
126rm -rf $RPM_BUILD_ROOT
31c27243 127
ff319169 128%ninja_install -C build
b976055d
JB
129
130%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian}
266b1094 131
de9df885 132%find_lang %{name} --with-gnome
cec9f965 133
134%clean
135rm -rf $RPM_BUILD_ROOT
136
bc516785 137%post
f52ca67d 138%update_desktop_database_post
0012084e 139%update_icon_cache hicolor
10d48041 140%glib_compile_schemas
bc516785 141
f9bd93bf 142%postun
f52ca67d 143%update_desktop_database_postun
0012084e 144%update_icon_cache hicolor
10d48041 145%glib_compile_schemas
bc516785 146
31c27243 147%files -f %{name}.lang
148%defattr(644,root,root,755)
c11af8e7 149%doc AUTHORS MAINTAINERS NEWS README.md README_COMMANDLINE
31c27243 150%attr(755,root,root) %{_bindir}/file-roller
ff319169
JB
151%dir %{_libexecdir}/file-roller
152%attr(755,root,root) %{_libexecdir}/file-roller/isoinfo.sh
153%attr(755,root,root) %{_libexecdir}/file-roller/rpm2cpio
10d48041 154%{_datadir}/dbus-1/services/org.gnome.FileRoller.service
3d46338e 155%{_datadir}/dbus-1/services/org.gnome.FileRoller.ArchiveManager1.service
31c27243 156%{_datadir}/file-roller
10d48041 157%{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
ff319169 158%{_datadir}/metainfo/org.gnome.FileRoller.appdata.xml
3d46338e 159%{_desktopdir}/org.gnome.FileRoller.desktop
ff319169 160%{_iconsdir}/hicolor/scalable/apps/org.gnome.ArchiveManager.svg
c11af8e7 161%{_iconsdir}/hicolor/scalable/apps/org.gnome.ArchiveManager.Devel.svg
ff319169 162%{_iconsdir}/hicolor/symbolic/apps/org.gnome.ArchiveManager-symbolic.svg
598d6bde 163
b976055d 164%if %{with nautilus}
598d6bde
MB
165%files -n nautilus-extension-file-roller
166%defattr(644,root,root,755)
167%attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so
b976055d 168%endif
This page took 0.153645 seconds and 4 git commands to generate.