]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
- updated to 2.20.1
[packages/file-roller.git] / file-roller.spec
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.1
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:  d99d9cc2ae3007eb5c8a6c7eb7d861aa
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 BuildRequires:  rpmbuild(macros) >= 1.311
26 BuildRequires:  scrollkeeper
27 Requires(post,postun):  desktop-file-utils
28 Requires(post,postun):  gtk+2
29 Requires(post,postun):  hicolor-icon-theme
30 Requires(post,postun):  scrollkeeper
31 Requires(post,preun):   GConf2
32 Requires:       gnome-vfs2 >= 2.20.0
33 Requires:       libgnomeui >= 2.20.0
34 Requires:       nautilus-libs >= 2.20.0
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 File Roller is an archive manager for the GNOME environment. With File
39 Roller you can: create and modify archives; view the content of an
40 archive; view a file contained in the archive; extract files from the
41 archive. File Roller is only a front-end (a graphical interface) to
42 various archiving programs. The supported file types are:
43 - Tar archives uncompressed (.tar) or compressed with
44  - gzip (.tar.gz , .tgz)
45  - bzip (.tar.bz , .tbz)
46  - bzip2 (.tar.bz2 , .tbz2)
47  - compress (.tar.Z , .taz)
48  - lzop (.tar.lzo , .tzo)
49 - Zip archives (.zip)
50 - Jar archives (.jar , .ear , .war)
51 - Lha archives (.lzh)
52 - Rar archives (.rar)
53 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
54
55 %description -l pl.UTF-8
56 File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
57 pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
58 oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
59 z archiwów. File Roller jest tylko interfejsem graficznym do
60 właściwych programów archiwizujących. Obsługiwane typy plików to:
61 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
62  - gzip (.tar.gz, .tgz)
63  - bzip (.tar.bz, .tbz)
64  - bzip2 (.tar.bz2, .tbz2)
65  - compress (.tar.Z, .taz)
66  - lzop (.tar.lzo, .tzo)
67 - archiwa zip (.zip)
68 - archiwa jar (.jar, .ear, .war)
69 - archiwa lha (.lzh)
70 - archiwa rar (.rar)
71 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
72   compress, lzop.
73
74 %description -l pt_BR.UTF-8
75 File Roller é um gerenciador de pacotes de arquivos compactados para o
76 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
77 conteúdo de arquivos existentes, visualizar um arquivo contido em um
78 pacote e extrair os arquivos de um pacote.
79
80 %prep
81 %setup -q
82 %patch0 -p1
83
84 %build
85 %{__gnome_doc_prepare}
86 %{__intltoolize}
87 %{__libtoolize}
88 %{__aclocal}
89 %{__autoconf}
90 %{__automake}
91 %configure \
92         --disable-schemas-install \
93         --disable-static
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT \
101         omf_dest_dir=%{_omf_dest_dir}/%{name} \
102         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
103
104 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
105 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
106 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
107
108 %find_lang %{name} --with-gnome
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %post
114 %gconf_schema_install file-roller.schemas
115 %scrollkeeper_update_post
116 %update_desktop_database_post
117 %update_icon_cache hicolor
118 %banner %{name} -e << EOF
119 For fully operational File Roller you need to install archiving
120 programs described in README.
121 EOF
122
123 %preun
124 %gconf_schema_uninstall file-roller.schemas
125
126 %postun
127 %scrollkeeper_update_postun
128 %update_desktop_database_postun
129 %update_icon_cache hicolor
130
131 %files -f %{name}.lang
132 %defattr(644,root,root,755)
133 %doc AUTHORS NEWS README
134 %attr(755,root,root) %{_bindir}/file-roller
135 %attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so
136 %dir %{_libdir}/file-roller
137 %attr(755,root,root) %{_libdir}/file-roller/*.sh
138 %{_datadir}/file-roller
139 %{_desktopdir}/*.desktop
140 %{_iconsdir}/hicolor/*/apps/file-roller.*
141 %dir %{_omf_dest_dir}/%{name}
142 %{_omf_dest_dir}/file-roller/file-roller-C.omf
143 %lang(bg) %{_omf_dest_dir}/file-roller/file-roller-bg.omf
144 %lang(de) %{_omf_dest_dir}/file-roller/file-roller-de.omf
145 %lang(es) %{_omf_dest_dir}/file-roller/file-roller-es.omf
146 %lang(fr) %{_omf_dest_dir}/file-roller/file-roller-fr.omf
147 %lang(it) %{_omf_dest_dir}/file-roller/file-roller-it.omf
148 %lang(nl) %{_omf_dest_dir}/file-roller/file-roller-nl.omf
149 %lang(oc) %{_omf_dest_dir}/file-roller/file-roller-oc.omf
150 %lang(ru) %{_omf_dest_dir}/file-roller/file-roller-ru.omf
151 %lang(sv) %{_omf_dest_dir}/file-roller/file-roller-sv.omf
152 %lang(uk) %{_omf_dest_dir}/file-roller/file-roller-uk.omf
153 %{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.042042 seconds and 4 git commands to generate.