]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
- merge from DEVEL
[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.24.0
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.24/%{name}-%{version}.tar.bz2
10 # Source0-md5:  f0ccbf549e6a2d899b8d664c34e2afd2
11 # http://bugzilla.gnome.org/show_bug.cgi?id=552031
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.22.0
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-doc-utils >= 0.12.1
18 BuildRequires:  gnome-vfs2-devel >= 2.22.0
19 BuildRequires:  gtk+2-devel >= 2:2.13.0
20 BuildRequires:  intltool >= 0.37.0
21 BuildRequires:  libglade2-devel >= 1:2.6.2
22 BuildRequires:  libgnomeui-devel >= 2.22.1
23 BuildRequires:  libtool
24 BuildRequires:  nautilus-devel >= 2.22.2
25 BuildRequires:  pkgconfig
26 BuildRequires:  rpmbuild(find_lang) >= 1.23
27 BuildRequires:  rpmbuild(macros) >= 1.311
28 BuildRequires:  scrollkeeper
29 BuildRequires:  sed >= 4.0
30 Requires(post,postun):  desktop-file-utils
31 Requires(post,postun):  gtk+2
32 Requires(post,postun):  hicolor-icon-theme
33 Requires(post,postun):  scrollkeeper
34 Requires(post,preun):   GConf2
35 Requires:       gnome-vfs2 >= 2.22.0
36 Requires:       libgnomeui >= 2.22.1
37 Requires:       nautilus-libs >= 2.22.2
38 Suggests:       bzip2
39 Suggests:       gzip
40 Suggests:       p7zip
41 %ifarch %{ix86}
42 Suggests:       rar
43 %else
44 Suggests:       unrar
45 %endif
46 Suggests:       tar
47 Suggests:       zip
48 # sr@Latn vs. sr@latin
49 Conflicts:      glibc-misc < 6:2.7
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52 %description
53 File Roller is an archive manager for the GNOME environment. With File
54 Roller you can: create and modify archives; view the content of an
55 archive; view a file contained in the archive; extract files from the
56 archive. File Roller is only a front-end (a graphical interface) to
57 various archiving programs. The supported file types are:
58 - Tar archives uncompressed (.tar) or compressed with
59  - gzip (.tar.gz , .tgz)
60  - bzip (.tar.bz , .tbz)
61  - bzip2 (.tar.bz2 , .tbz2)
62  - compress (.tar.Z , .taz)
63  - lzop (.tar.lzo , .tzo)
64 - Zip archives (.zip)
65 - Jar archives (.jar , .ear , .war)
66 - Lha archives (.lzh)
67 - Rar archives (.rar)
68 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
69
70 %description -l pl.UTF-8
71 File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
72 pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
73 oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
74 z archiwów. File Roller jest tylko interfejsem graficznym do
75 właściwych programów archiwizujących. Obsługiwane typy plików to:
76 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
77  - gzip (.tar.gz, .tgz)
78  - bzip (.tar.bz, .tbz)
79  - bzip2 (.tar.bz2, .tbz2)
80  - compress (.tar.Z, .taz)
81  - lzop (.tar.lzo, .tzo)
82 - archiwa zip (.zip)
83 - archiwa jar (.jar, .ear, .war)
84 - archiwa lha (.lzh)
85 - archiwa rar (.rar)
86 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
87   compress, lzop.
88
89 %description -l pt_BR.UTF-8
90 File Roller é um gerenciador de pacotes de arquivos compactados para o
91 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
92 conteúdo de arquivos existentes, visualizar um arquivo contido em um
93 pacote e extrair os arquivos de um pacote.
94
95 %prep
96 %setup -q
97
98 %build
99 %{__gnome_doc_prepare}
100 %{__intltoolize}
101 %{__libtoolize}
102 %{__aclocal}
103 %{__autoconf}
104 %{__autoheader}
105 %{__automake}
106 %configure \
107         --disable-schemas-install \
108         --disable-static
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT \
116         omf_dest_dir=%{_omf_dest_dir}/%{name} \
117         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
118
119 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
120 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
121 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
122
123 # the same locale as ur
124 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
125
126 %find_lang %{name} --with-gnome --with-omf
127
128 %clean
129 rm -rf $RPM_BUILD_ROOT
130
131 %post
132 %gconf_schema_install file-roller.schemas
133 %scrollkeeper_update_post
134 %update_desktop_database_post
135 %update_icon_cache hicolor
136
137 %preun
138 %gconf_schema_uninstall file-roller.schemas
139
140 %postun
141 %scrollkeeper_update_postun
142 %update_desktop_database_postun
143 %update_icon_cache hicolor
144
145 %files -f %{name}.lang
146 %defattr(644,root,root,755)
147 %doc AUTHORS ChangeLog NEWS README TODO
148 %attr(755,root,root) %{_bindir}/file-roller
149 %attr(755,root,root) %{_libdir}/nautilus/extensions-2.0/libnautilus-fileroller.so
150 %dir %{_libdir}/file-roller
151 %attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
152 %{_datadir}/file-roller
153 %{_desktopdir}/file-roller.desktop
154 %{_iconsdir}/hicolor/*/apps/file-roller.*
155 %{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.080759 seconds and 3 git commands to generate.