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