]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
- updated to 2.18.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.18.1
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/file-roller/2.18/%{name}-%{version}.tar.bz2
10 # Source0-md5:  8cbd7292146da7d6fe3a586c77263079
11 Patch0:         %{name}-desktop.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.18.0.1
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-doc-utils >= 0.10.3
18 BuildRequires:  gnome-vfs2-devel >= 2.18.0.1
19 BuildRequires:  gtk+2-devel >= 2:2.10.10
20 BuildRequires:  libglade2-devel >= 1:2.6.0
21 BuildRequires:  libgnomeui-devel >= 2.18.1
22 BuildRequires:  libtool
23 BuildRequires:  nautilus-devel >= 2.18.0.1
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.18.0.1
33 Requires:       libgnomeui >= 2.18.1
34 Requires:       nautilus-libs >= 2.18.0.1
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 %{__libtoolize}
87 %{__aclocal}
88 %{__autoconf}
89 %{__automake}
90 %configure \
91         --disable-schemas-install \
92         --disable-static
93 %{__make}
94
95 %install
96 rm -rf $RPM_BUILD_ROOT
97
98 %{__make} install \
99         DESTDIR=$RPM_BUILD_ROOT \
100         omf_dest_dir=%{_omf_dest_dir}/%{name} \
101         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
102
103 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
104 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
105 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
106
107 %find_lang %{name} --with-gnome
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post
113 %gconf_schema_install file-roller.schemas
114 %scrollkeeper_update_post
115 %update_desktop_database_post
116 %update_icon_cache hicolor
117 %banner %{name} -e << EOF
118 For fully operational File Roller you need to install archiving
119 programs described in README.
120 EOF
121
122 %preun
123 %gconf_schema_uninstall file-roller.schemas
124
125 %postun
126 %scrollkeeper_update_postun
127 %update_desktop_database_postun
128 %update_icon_cache hicolor
129
130 %files -f %{name}.lang
131 %defattr(644,root,root,755)
132 %doc AUTHORS NEWS README
133 %attr(755,root,root) %{_bindir}/file-roller
134 %attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so
135 %dir %{_libdir}/file-roller
136 %attr(755,root,root) %{_libdir}/file-roller/*.sh
137 %{_datadir}/file-roller
138 %{_desktopdir}/*.desktop
139 %{_iconsdir}/hicolor/*/apps/file-roller.*
140 %{_omf_dest_dir}/%{name}
141 %{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.080863 seconds and 3 git commands to generate.