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