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