]> git.pld-linux.org Git - packages/file-roller.git/blame - file-roller.spec
- updated to 2.22.4
[packages/file-roller.git] / file-roller.spec
CommitLineData
31c27243 1Summary: An archive manager for GNOME
ae212014
ER
2Summary(pl.UTF-8): Zarządca archiwów dla GNOME
3Summary(pt_BR.UTF-8): Gerenciador de arquivos compactados para o GNOME
31c27243 4Name: file-roller
0ba79d50 5Version: 2.22.4
0447262b 6Release: 1
31c27243 7License: GPL v2
bc516785 8Group: X11/Applications
e3c1cc69 9Source0: http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.22/%{name}-%{version}.tar.bz2
0ba79d50 10# Source0-md5: 9cbd597f6e1299f49c7963a1eb2b7533
00c5670b 11Patch0: %{name}-desktop.patch
bc516785 12URL: http://www.gnome.org/
e3c1cc69 13BuildRequires: GConf2-devel >= 2.22.0
e1d9d17c 14BuildRequires: autoconf >= 2.52
31c27243 15BuildRequires: automake
7c894f94 16BuildRequires: gettext-devel
e3c1cc69
MB
17BuildRequires: gnome-doc-utils >= 0.12.1
18BuildRequires: gnome-vfs2-devel >= 2.22.0
19BuildRequires: gtk+2-devel >= 2:2.12.8
20BuildRequires: intltool >= 0.37.0
d9e1efe9 21BuildRequires: libglade2-devel >= 1:2.6.2
0447262b 22BuildRequires: libgnomeui-devel >= 2.22.1
5d6c3424 23BuildRequires: libtool
0447262b 24BuildRequires: nautilus-devel >= 2.22.2
8a61b2ca 25BuildRequires: pkgconfig
65b8f65c 26BuildRequires: rpmbuild(find_lang) >= 1.23
0012084e 27BuildRequires: rpmbuild(macros) >= 1.311
cbc37441 28BuildRequires: scrollkeeper
65b8f65c 29BuildRequires: sed >= 4.0
00c5670b 30Requires(post,postun): desktop-file-utils
84d723ef 31Requires(post,postun): gtk+2
cd244210 32Requires(post,postun): hicolor-icon-theme
f9bd93bf 33Requires(post,postun): scrollkeeper
cd244210 34Requires(post,preun): GConf2
e3c1cc69 35Requires: gnome-vfs2 >= 2.22.0
0447262b
MB
36Requires: libgnomeui >= 2.22.1
37Requires: nautilus-libs >= 2.22.2
9e9f3fb0
PG
38Suggests: bzip2
39Suggests: gzip
40Suggests: p7zip
c2c6cb0d 41%ifarch %{ix86}
9e9f3fb0 42Suggests: rar
c2c6cb0d
JB
43%else
44Suggests: unrar
45%endif
9e9f3fb0
PG
46Suggests: tar
47Suggests: zip
03011694 48# sr@Latn vs. sr@latin
49Conflicts: glibc-misc < 6:2.7
31c27243 50BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cec9f965 51
52%description
31c27243 53File Roller is an archive manager for the GNOME environment. With File
b9656a53 54Roller you can: create and modify archives; view the content of an
31c27243 55archive; view a file contained in the archive; extract files from the
56archive. File Roller is only a front-end (a graphical interface) to
b9656a53 57various archiving programs. The supported file types are:
48b730b6 58- Tar archives uncompressed (.tar) or compressed with
84d723ef
MB
59 - gzip (.tar.gz , .tgz)
60 - bzip (.tar.bz , .tbz)
61 - bzip2 (.tar.bz2 , .tbz2)
62 - compress (.tar.Z , .taz)
63 - lzop (.tar.lzo , .tzo)
48b730b6 64- Zip archives (.zip)
65- Jar archives (.jar , .ear , .war)
66- Lha archives (.lzh)
67- Rar archives (.rar)
68- Single files compressed with gzip, bzip, bzip2, compress, lzop.
b9656a53 69
10ce1a3a
JR
70%description -l pl.UTF-8
71File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
72pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
73oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
74z archiwów. File Roller jest tylko interfejsem graficznym do
75właściwych programów archiwizujących. Obsługiwane typy plików to:
b9656a53 76- archiwa tar nieskompresowane (.tar) lub skompresowane programami:
84d723ef
MB
77 - gzip (.tar.gz, .tgz)
78 - bzip (.tar.bz, .tbz)
79 - bzip2 (.tar.bz2, .tbz2)
80 - compress (.tar.Z, .taz)
81 - lzop (.tar.lzo, .tzo)
b9656a53
JB
82- archiwa zip (.zip)
83- archiwa jar (.jar, .ear, .war)
84- archiwa lha (.lzh)
85- archiwa rar (.rar)
86- pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
87 compress, lzop.
cec9f965 88
10ce1a3a
JR
89%description -l pt_BR.UTF-8
90File Roller é um gerenciador de pacotes de arquivos compactados para o
91ambiente GNOME. Com ele é possível criar arquivos, visualizar o
92conteúdo de arquivos existentes, visualizar um arquivo contido em um
aede5ef1 93pacote e extrair os arquivos de um pacote.
94
cec9f965 95%prep
31c27243 96%setup -q
c4cdc1c0 97%patch0 -p1
cec9f965 98
e3c1cc69
MB
99sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
100mv po/sr@{Latn,latin}.po
36d56671 101
cec9f965 102%build
0012084e 103%{__gnome_doc_prepare}
d9e1efe9 104%{__intltoolize}
5c218afb 105%{__libtoolize}
bc516785 106%{__aclocal}
049c5ec9 107%{__autoconf}
e3c1cc69 108%{__autoheader}
049c5ec9 109%{__automake}
e9169a43 110%configure \
8c6f0e5d
JB
111 --disable-schemas-install \
112 --disable-static
31c27243 113%{__make}
cec9f965 114
115%install
116rm -rf $RPM_BUILD_ROOT
31c27243 117
118%{__make} install \
119 DESTDIR=$RPM_BUILD_ROOT \
2cf8bbdf 120 omf_dest_dir=%{_omf_dest_dir}/%{name} \
121 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
31c27243 122
744e6885 123rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
e3c1cc69 124rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
00c5670b 125rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
f9bd93bf 126
266b1094
MB
127# the same locale as ur
128rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
129
36d56671 130%find_lang %{name} --with-gnome --with-omf
cec9f965 131
132%clean
133rm -rf $RPM_BUILD_ROOT
134
bc516785 135%post
f52ca67d 136%gconf_schema_install file-roller.schemas
137%scrollkeeper_update_post
138%update_desktop_database_post
0012084e 139%update_icon_cache hicolor
00c5670b 140
141%preun
f52ca67d 142%gconf_schema_uninstall file-roller.schemas
bc516785 143
f9bd93bf 144%postun
f52ca67d 145%scrollkeeper_update_postun
146%update_desktop_database_postun
0012084e 147%update_icon_cache hicolor
bc516785 148
31c27243 149%files -f %{name}.lang
150%defattr(644,root,root,755)
e3c1cc69 151%doc AUTHORS ChangeLog NEWS README TODO
31c27243 152%attr(755,root,root) %{_bindir}/file-roller
e3c1cc69 153%attr(755,root,root) %{_libdir}/nautilus/extensions-2.0/libnautilus-fileroller.so
cd244210 154%dir %{_libdir}/file-roller
e3c1cc69 155%attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
31c27243 156%{_datadir}/file-roller
e3c1cc69 157%{_desktopdir}/file-roller.desktop
cd244210 158%{_iconsdir}/hicolor/*/apps/file-roller.*
cbc37441 159%{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.124083 seconds and 4 git commands to generate.