]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
dc65980e4b86e53895eabb8197f24e1972128d71
[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.32.1
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.32/%{name}-%{version}.tar.bz2
10 # Source0-md5:  15da607b23d200f9e7681ddaeecbb76d
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.24.0
13 BuildRequires:  autoconf >= 2.61
14 BuildRequires:  automake
15 BuildRequires:  docbook-dtd412-xml
16 BuildRequires:  gettext-devel
17 BuildRequires:  glib2-devel >= 1:2.26.0
18 BuildRequires:  gnome-common >= 2.24.0
19 BuildRequires:  gnome-doc-utils >= 0.14.0
20 BuildRequires:  gtk+2-devel >= 2:2.22.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:       glib2 >= 1:2.26.0
37 Requires:       nautilus-libs >= 2.26.0
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 sed -i 's/^en@shaw//' po/LINGUAS
98 rm po/en@shaw.po
99
100 %build
101 %{__gnome_doc_prepare}
102 %{__intltoolize}
103 %{__libtoolize}
104 %{__aclocal}
105 %{__autoconf}
106 %{__autoheader}
107 %{__automake}
108 %configure \
109         --disable-schemas-install \
110         --disable-silent-rules \
111         --disable-static
112
113 %{__make}
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117
118 %{__make} install \
119         DESTDIR=$RPM_BUILD_ROOT
120
121 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
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 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 %attr(755,root,root) %{_libdir}/file-roller/rpm2cpio
153 %{_datadir}/file-roller
154 %{_desktopdir}/file-roller.desktop
155 %{_iconsdir}/hicolor/*/apps/file-roller.*
156 %{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.031576 seconds and 2 git commands to generate.