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