]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
8a599eaa7cd17c7a48b8eaed24de116d6d12e5cb
[packages/file-roller.git] / file-roller.spec
1 Summary:        An archive manager for GNOME
2 Summary(pl):    Zarz±dca archiwów dla GNOME
3 Summary(pt_BR): Gerenciador de arquivos compactados para o GNOME
4 Name:           file-roller
5 Version:        2.14.2
6 Release:        2
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/file-roller/2.14/%{name}-%{version}.tar.bz2
10 # Source0-md5:  4900dc4b2e4f0f173bd88cb5e6b9bde1
11 Patch0:         %{name}-desktop.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.14.0
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-doc-utils >= 0.3.1-2
18 BuildRequires:  gnome-vfs2-devel >= 2.14.0
19 BuildRequires:  gtk+2-devel >= 2:2.8.0
20 BuildRequires:  libglade2-devel >= 1:2.5.1
21 BuildRequires:  libgnomeui-devel >= 2.14.0
22 BuildRequires:  libtool
23 BuildRequires:  nautilus-devel >= 2.14.0
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.197
26 BuildRequires:  scrollkeeper
27 Requires(post,preun):   GConf2
28 Requires(post,postun):  desktop-file-utils
29 Requires(post,postun):  scrollkeeper
30 Requires:       gnome-vfs2 >= 2.14.0
31 Requires:       libgnomeui >= 2.14.0
32 Requires:       nautilus-libs >= 2.14
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 File Roller is an archive manager for the GNOME environment. With File
37 Roller you can: create and modify archives; view the content of an
38 archive; view a file contained in the archive; extract files from the
39 archive. File Roller is only a front-end (a graphical interface) to
40 various archiving programs. The supported file types are:
41 - Tar archives uncompressed (.tar) or compressed with
42         - gzip (.tar.gz , .tgz)
43         - bzip (.tar.bz , .tbz)
44         - bzip2 (.tar.bz2 , .tbz2)
45         - compress (.tar.Z , .taz)
46         - lzop (.tar.lzo , .tzo)
47 - Zip archives (.zip)
48 - Jar archives (.jar , .ear , .war)
49 - Lha archives (.lzh)
50 - Rar archives (.rar)
51 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
52
53 %description -l pl
54 File Roller to zarz±dca archiwów dla ¶rodowiska GNOME. Przy jego
55 pomocy mo¿na: tworzyæ i modyfikowaæ archiwa, ogl±daæ ich zawarto¶æ,
56 ogl±daæ poszczególne pliki zawarte w archiwum oraz rozpakowywaæ pliki
57 z archiwów. File Roller jest tylko interfejsem graficznym do
58 w³a¶ciwych programów archiwizuj±cych. Obs³ugiwane typy plików to:
59 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
60         - gzip (.tar.gz, .tgz)
61         - bzip (.tar.bz, .tbz)
62         - bzip2 (.tar.bz2, .tbz2)
63         - compress (.tar.Z, .taz)
64         - lzop (.tar.lzo, .tzo)
65 - archiwa zip (.zip)
66 - archiwa jar (.jar, .ear, .war)
67 - archiwa lha (.lzh)
68 - archiwa rar (.rar)
69 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
70   compress, lzop.
71
72 %description -l pt_BR
73 File Roller é um gerenciador de pacotes de arquivos compactados para o
74 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
75 conteúdo de arquivos existentes, visualizar um arquivo contido em um
76 pacote e extrair os arquivos de um pacote.
77
78 %prep
79 %setup -q
80 %patch0 -p1
81
82 %build
83 gnome-doc-prepare --copy --force
84 %{__libtoolize}
85 %{__aclocal}
86 %{__autoconf}
87 %{__automake}
88 %configure \
89         --disable-schemas-install \
90         --disable-static
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT \
98         omf_dest_dir=%{_omf_dest_dir}/%{name} \
99         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
100
101 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
102 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
103 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
104
105 %find_lang %{name} --with-gnome
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post
111 %gconf_schema_install file-roller.schemas
112 %scrollkeeper_update_post
113 %update_desktop_database_post
114 %banner %{name} -e << EOF
115 For fully operational File Roller you need to install archiving
116 programs described in README.
117 EOF
118
119 %preun
120 %gconf_schema_uninstall file-roller.schemas
121
122 %postun
123 %scrollkeeper_update_postun
124 %update_desktop_database_postun
125
126 %files -f %{name}.lang
127 %defattr(644,root,root,755)
128 %doc AUTHORS NEWS README
129 %attr(755,root,root) %{_bindir}/file-roller
130 %attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so
131 %{_datadir}/file-roller
132 %{_desktopdir}/*
133 %{_iconsdir}/hicolor/*/apps/file-roller.png
134 %{_omf_dest_dir}/%{name}
135 %{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.032059 seconds and 2 git commands to generate.