]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
- updated to 2.22.4
[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.22.4
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.22/%{name}-%{version}.tar.bz2
10 # Source0-md5:  9cbd597f6e1299f49c7963a1eb2b7533
11 Patch0:         %{name}-desktop.patch
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.12.8
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 %patch0 -p1
98
99 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
100 mv po/sr@{Latn,latin}.po
101
102 %build
103 %{__gnome_doc_prepare}
104 %{__intltoolize}
105 %{__libtoolize}
106 %{__aclocal}
107 %{__autoconf}
108 %{__autoheader}
109 %{__automake}
110 %configure \
111         --disable-schemas-install \
112         --disable-static
113 %{__make}
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117
118 %{__make} install \
119         DESTDIR=$RPM_BUILD_ROOT \
120         omf_dest_dir=%{_omf_dest_dir}/%{name} \
121         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
122
123 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
124 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
125 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
126
127 # the same locale as ur
128 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
129
130 %find_lang %{name} --with-gnome --with-omf
131
132 %clean
133 rm -rf $RPM_BUILD_ROOT
134
135 %post
136 %gconf_schema_install file-roller.schemas
137 %scrollkeeper_update_post
138 %update_desktop_database_post
139 %update_icon_cache hicolor
140
141 %preun
142 %gconf_schema_uninstall file-roller.schemas
143
144 %postun
145 %scrollkeeper_update_postun
146 %update_desktop_database_postun
147 %update_icon_cache hicolor
148
149 %files -f %{name}.lang
150 %defattr(644,root,root,755)
151 %doc AUTHORS ChangeLog NEWS README TODO
152 %attr(755,root,root) %{_bindir}/file-roller
153 %attr(755,root,root) %{_libdir}/nautilus/extensions-2.0/libnautilus-fileroller.so
154 %dir %{_libdir}/file-roller
155 %attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
156 %{_datadir}/file-roller
157 %{_desktopdir}/file-roller.desktop
158 %{_iconsdir}/hicolor/*/apps/file-roller.*
159 %{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.034451 seconds and 3 git commands to generate.