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