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