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