]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
6908881a13597526e1df12ec9ba8dfff37daf9ab
[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.16.0
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/file-roller/2.16/%{name}-%{version}.tar.bz2
10 # Source0-md5:  96a17824bedce36d3ebfee602e6a68c5
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.7.2
18 BuildRequires:  gnome-vfs2-devel >= 2.16.0
19 BuildRequires:  gtk+2-devel >= 2:2.10.2
20 BuildRequires:  libglade2-devel >= 1:2.6.0
21 BuildRequires:  libgnomeui-devel >= 2.16.0
22 BuildRequires:  libtool
23 BuildRequires:  nautilus-devel >= 2.16.0
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.311
26 BuildRequires:  scrollkeeper
27 Requires(post,preun):   GConf2 >= 2.14.0
28 Requires(post,postun):  desktop-file-utils
29 Requires(post,postun):  gtk+2 >= 2.10.2
30 Requires(post,postun):  scrollkeeper
31 Requires:       gnome-vfs2 >= 2.16.0
32 Requires:       libgnomeui >= 2.16.0
33 Requires:       nautilus-libs >= 2.16.0
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 File Roller is an archive manager for the GNOME environment. With File
38 Roller you can: create and modify archives; view the content of an
39 archive; view a file contained in the archive; extract files from the
40 archive. File Roller is only a front-end (a graphical interface) to
41 various archiving programs. The supported file types are:
42 - Tar archives uncompressed (.tar) or compressed with
43         - gzip (.tar.gz , .tgz)
44         - bzip (.tar.bz , .tbz)
45         - bzip2 (.tar.bz2 , .tbz2)
46         - compress (.tar.Z , .taz)
47         - lzop (.tar.lzo , .tzo)
48 - Zip archives (.zip)
49 - Jar archives (.jar , .ear , .war)
50 - Lha archives (.lzh)
51 - Rar archives (.rar)
52 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
53
54 %description -l pl
55 File Roller to zarz±dca archiwów dla ¶rodowiska GNOME. Przy jego
56 pomocy mo¿na: tworzyæ i modyfikowaæ archiwa, ogl±daæ ich zawarto¶æ,
57 ogl±daæ poszczególne pliki zawarte w archiwum oraz rozpakowywaæ pliki
58 z archiwów. File Roller jest tylko interfejsem graficznym do
59 w³a¶ciwych programów archiwizuj±cych. Obs³ugiwane typy plików to:
60 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
61         - gzip (.tar.gz, .tgz)
62         - bzip (.tar.bz, .tbz)
63         - bzip2 (.tar.bz2, .tbz2)
64         - compress (.tar.Z, .taz)
65         - lzop (.tar.lzo, .tzo)
66 - archiwa zip (.zip)
67 - archiwa jar (.jar, .ear, .war)
68 - archiwa lha (.lzh)
69 - archiwa rar (.rar)
70 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
71   compress, lzop.
72
73 %description -l pt_BR
74 File Roller é um gerenciador de pacotes de arquivos compactados para o
75 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
76 conteúdo de arquivos existentes, visualizar um arquivo contido em um
77 pacote e extrair os arquivos de um pacote.
78
79 %prep
80 %setup -q
81 %patch0 -p1
82
83 %build
84 %{__gnome_doc_prepare}
85 %{__libtoolize}
86 %{__aclocal}
87 %{__autoconf}
88 %{__automake}
89 %configure \
90         --disable-schemas-install \
91         --disable-static
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT \
99         omf_dest_dir=%{_omf_dest_dir}/%{name} \
100         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
101
102 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
103 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
104 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
105 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/tk
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 %{_datadir}/file-roller
136 %{_desktopdir}/*
137 %{_iconsdir}/hicolor/*/apps/file-roller.png
138 %{_omf_dest_dir}/%{name}
139 %{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.055202 seconds and 2 git commands to generate.