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