]> git.pld-linux.org Git - packages/file-roller.git/blame - file-roller.spec
- Requires(post,postun): gtk-update-icon-cache
[packages/file-roller.git] / file-roller.spec
CommitLineData
31c27243 1Summary: An archive manager for GNOME
ae212014
ER
2Summary(pl.UTF-8): Zarządca archiwów dla GNOME
3Summary(pt_BR.UTF-8): Gerenciador de arquivos compactados para o GNOME
31c27243 4Name: file-roller
03379a4e 5Version: 2.32.1
b8b8b51d 6Release: 2
31c27243 7License: GPL v2
bc516785 8Group: X11/Applications
bc8da9c6 9Source0: http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.32/%{name}-%{version}.tar.bz2
03379a4e 10# Source0-md5: 15da607b23d200f9e7681ddaeecbb76d
bc516785 11URL: http://www.gnome.org/
aff3ede5
MB
12BuildRequires: GConf2-devel >= 2.24.0
13BuildRequires: autoconf >= 2.61
31c27243 14BuildRequires: automake
b4483204 15BuildRequires: docbook-dtd412-xml
7c894f94 16BuildRequires: gettext-devel
bc8da9c6 17BuildRequires: glib2-devel >= 1:2.26.0
aff3ede5
MB
18BuildRequires: gnome-common >= 2.24.0
19BuildRequires: gnome-doc-utils >= 0.14.0
bc8da9c6 20BuildRequires: gtk+2-devel >= 2:2.22.0
aff3ede5 21BuildRequires: intltool >= 0.40.0
5d6c3424 22BuildRequires: libtool
a3da2866 23BuildRequires: libxml2-progs
bc06eca7 24BuildRequires: nautilus-devel >= 2.26.0
8a61b2ca 25BuildRequires: pkgconfig
65b8f65c 26BuildRequires: rpmbuild(find_lang) >= 1.23
0012084e 27BuildRequires: rpmbuild(macros) >= 1.311
cbc37441 28BuildRequires: scrollkeeper
a3da2866 29# libegg
30BuildRequires: xorg-lib-libSM-devel
00c5670b 31Requires(post,postun): desktop-file-utils
b8b8b51d 32Requires(post,postun): gtk-update-icon-cache
cd244210 33Requires(post,postun): hicolor-icon-theme
f9bd93bf 34Requires(post,postun): scrollkeeper
cd244210 35Requires(post,preun): GConf2
bc8da9c6 36Requires: glib2 >= 1:2.26.0
bc06eca7 37Requires: nautilus-libs >= 2.26.0
9e9f3fb0
PG
38Suggests: bzip2
39Suggests: gzip
40Suggests: p7zip
c2c6cb0d 41%ifarch %{ix86}
9e9f3fb0 42Suggests: rar
c2c6cb0d
JB
43%else
44Suggests: unrar
45%endif
9e9f3fb0
PG
46Suggests: tar
47Suggests: zip
03011694 48# sr@Latn vs. sr@latin
49Conflicts: glibc-misc < 6:2.7
31c27243 50BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cec9f965 51
52%description
31c27243 53File Roller is an archive manager for the GNOME environment. With File
b9656a53 54Roller you can: create and modify archives; view the content of an
31c27243 55archive; view a file contained in the archive; extract files from the
56archive. File Roller is only a front-end (a graphical interface) to
b9656a53 57various archiving programs. The supported file types are:
48b730b6 58- Tar archives uncompressed (.tar) or compressed with
84d723ef
MB
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)
48b730b6 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.
b9656a53 69
10ce1a3a
JR
70%description -l pl.UTF-8
71File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
72pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
73oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
74z archiwów. File Roller jest tylko interfejsem graficznym do
75właściwych programów archiwizujących. Obsługiwane typy plików to:
b9656a53 76- archiwa tar nieskompresowane (.tar) lub skompresowane programami:
84d723ef
MB
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)
b9656a53
JB
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.
cec9f965 88
10ce1a3a
JR
89%description -l pt_BR.UTF-8
90File Roller é um gerenciador de pacotes de arquivos compactados para o
91ambiente GNOME. Com ele é possível criar arquivos, visualizar o
92conteúdo de arquivos existentes, visualizar um arquivo contido em um
aede5ef1 93pacote e extrair os arquivos de um pacote.
94
cec9f965 95%prep
31c27243 96%setup -q
6df23dc6
MB
97sed -i 's/^en@shaw//' po/LINGUAS
98rm po/en@shaw.po
36d56671 99
cec9f965 100%build
0012084e 101%{__gnome_doc_prepare}
d9e1efe9 102%{__intltoolize}
5c218afb 103%{__libtoolize}
bc516785 104%{__aclocal}
049c5ec9 105%{__autoconf}
e3c1cc69 106%{__autoheader}
049c5ec9 107%{__automake}
e9169a43 108%configure \
8c6f0e5d 109 --disable-schemas-install \
6df23dc6 110 --disable-silent-rules \
8c6f0e5d 111 --disable-static
0b1ce549 112
31c27243 113%{__make}
cec9f965 114
115%install
116rm -rf $RPM_BUILD_ROOT
31c27243 117
118%{__make} install \
aff3ede5 119 DESTDIR=$RPM_BUILD_ROOT
31c27243 120
e3c1cc69 121rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
f9bd93bf 122
266b1094
MB
123# the same locale as ur
124rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
125
36d56671 126%find_lang %{name} --with-gnome --with-omf
cec9f965 127
128%clean
129rm -rf $RPM_BUILD_ROOT
130
bc516785 131%post
f52ca67d 132%gconf_schema_install file-roller.schemas
133%scrollkeeper_update_post
134%update_desktop_database_post
0012084e 135%update_icon_cache hicolor
00c5670b 136
137%preun
f52ca67d 138%gconf_schema_uninstall file-roller.schemas
bc516785 139
f9bd93bf 140%postun
f52ca67d 141%scrollkeeper_update_postun
142%update_desktop_database_postun
0012084e 143%update_icon_cache hicolor
bc516785 144
31c27243 145%files -f %{name}.lang
146%defattr(644,root,root,755)
aaf649fc 147%doc AUTHORS NEWS README TODO
31c27243 148%attr(755,root,root) %{_bindir}/file-roller
e3c1cc69 149%attr(755,root,root) %{_libdir}/nautilus/extensions-2.0/libnautilus-fileroller.so
cd244210 150%dir %{_libdir}/file-roller
e3c1cc69 151%attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
aaf649fc 152%attr(755,root,root) %{_libdir}/file-roller/rpm2cpio
31c27243 153%{_datadir}/file-roller
e3c1cc69 154%{_desktopdir}/file-roller.desktop
cd244210 155%{_iconsdir}/hicolor/*/apps/file-roller.*
cbc37441 156%{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.08266 seconds and 4 git commands to generate.