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