1 Summary: Helper library for pcmanfm
2 Summary(pl.UTF-8): Biblioteka pomocnicza do pcmanfm
8 Source0: http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
9 # Source0-md5: c09bce415ff6dc2dd835e28aeddeabe3
10 Patch0: %{name}-link.patch
11 URL: http://pcmanfm.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gettext-devel
15 BuildRequires: glib2-devel >= 1:2.27.0
16 BuildRequires: gtk+2-devel
17 BuildRequires: gtk-doc
18 BuildRequires: intltool >= 0.40.0
19 BuildRequires: libtool
20 BuildRequires: menu-cache-devel
21 BuildRequires: pkgconfig
22 Requires(post,postun): /sbin/ldconfig
23 Requires(post,postun): shared-mime-info
24 Requires: glib2 >= 1:2.27.0
25 # in case someone want to split this package into smaller ones
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Helper library for pcmanfm.
32 %description -l pl.UTF-8
33 Biblioteka pomocnicza dla pcmanfm
36 Summary: Header files and libraries for libfm development
37 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do libfm
38 Group: Development/Libraries
39 Requires: %{name} = %{epoch}:%{version}-%{release}
40 Provides: libfm-gtk-devel
43 This package contains the header files needed to develop programs that
46 %description devel -l pl.UTF-8
47 Pakiet zawiera pliki nagłówkowe potrzebne do rozwoju oprogramowania
48 korzystającego z libfm.
51 Summary: Static library for libfm development
52 Summary(pl.UTF-8): Biblioteka statyczna do libfm
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
57 This package contains the header files and libraries needed to develop
58 programs that use these libfm.
60 %description static -l pl.UTF-8
61 Pakiet zawiera pliki nagłówkowe potrzebne do rozwoju oprogramowania
62 korzystającego z libfm.
68 # docs dir missing in tarball, but configure.ac references it
69 install -d docs/reference/libfm
70 touch docs/Makefile.in
71 touch docs/reference/Makefile.in
72 touch docs/reference/libfm/Makefile.in
79 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT
83 # pkg-config present, so drop .la
84 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfm.la
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfm-gtk.la
87 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/tt_RU
92 rm -rf $RPM_BUILD_ROOT
100 %update_mime_database
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
106 %config(noreplace) %verify(not md5 mtime size) /etc/xdg/libfm/libfm.conf
107 %attr(755,root,root) %{_libdir}/libfm.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/libfm.so.1
110 %{_datadir}/mime/packages/libfm.xml
113 %config(noreplace) %verify(not md5 mtime size) /etc/xdg/libfm/pref-apps.conf
114 %attr(755,root,root) %{_bindir}/libfm-pref-apps
115 %attr(755,root,root) %{_libdir}/libfm-gtk.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libfm-gtk.so.1
117 %{_desktopdir}/libfm-pref-apps.desktop
120 %defattr(644,root,root,755)
122 %{_libdir}/libfm-gtk.so
124 %{_pkgconfigdir}/libfm-gtk.pc
125 %{_pkgconfigdir}/libfm.pc
128 %defattr(644,root,root,755)
129 %{_libdir}/libfm-gtk.a