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