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