packages: libfm/libfm.spec (NEW) - new

witekfl witekfl at pld-linux.org
Sat Jul 31 09:40:02 CEST 2010


Author: witekfl                      Date: Sat Jul 31 07:40:02 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/libfm:
   libfm.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libfm/libfm.spec
diff -u /dev/null packages/libfm/libfm.spec:1.1
--- /dev/null	Sat Jul 31 09:40:02 2010
+++ packages/libfm/libfm.spec	Sat Jul 31 09:39:57 2010
@@ -0,0 +1,111 @@
+# $Revision$, $Date$
+Summary:	Helper library for pcmanfm
+Name:		libfm
+Version:	0.1.12
+Release:	1
+License:	GPL v2
+Group:		Libraries
+Source0:	http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
+# Source0-md5:	6dbc9a30efb5ad0a2c7a0fc54b1ee57c
+URL:		http://pcmanfm.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	gtk+2-devel
+BuildRequires:	intltool >= 0.40.0
+BuildRequires:	libtool
+BuildRequires:	menu-cache-devel
+BuildRequires:	rpm >= 4.4.9-56
+Requires(post,postun):	shared-mime-info
+# in case someone want to split this package into smaller ones
+Provides:	libfm-gtk
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Helper library for pcmanfm.
+
+%package devel
+Summary:	Header files and libraries for libfm development
+Summary(pl.UTF-8):	Pliki nagłówkowe i dokumentacja do libfm
+Group:		Development/Libraries
+Provides:	libfm-gtk-devel
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+This package contains the header files needed to develop programs that
+use these libfm.
+
+%package static
+Summary:	Static library for libfm development
+Summary(pl.UTF-8):	Biblioteka statyczna do libfm
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+This package contains the header files and libraries needed to develop
+programs that use these libfm.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/ldconfig
+%update_mime_database
+
+%postun
+/sbin/ldconfig
+%update_mime_database
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS README TODO
+%{_sysconfdir}/xdg/libfm
+%attr(755,root,root) %{_bindir}/libfm-pref-apps
+%attr(755,root,root) %{_libdir}/gio/modules/libgiofm.so
+%attr(755,root,root) %{_libdir}/libfm-gtk.so.0.0.0
+%attr(755,root,root) %ghost %{_libdir}/libfm-gtk.so.0
+%attr(755,root,root) %{_libdir}/libfm.so.0.0.0
+%attr(755,root,root) %ghost %{_libdir}/libfm.so.0
+%dir %{_libdir}/libfm
+%attr(755,root,root) %{_libdir}/libfm/gnome-terminal
+%{_desktopdir}/libfm-pref-apps.desktop
+%{_datadir}/libfm
+%{_datadir}/mime/packages/libfm.xml
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/libfm
+%{_libdir}/libfm-gtk.la
+%{_libdir}/libfm-gtk.so
+%{_libdir}/libfm.la
+%{_libdir}/libfm.so
+%{_pkgconfigdir}/libfm-gtk.pc
+%{_pkgconfigdir}/libfm.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libfm-gtk.a
+%{_libdir}/libfm.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/07/31 07:39:57  witekfl
+- new
+
================================================================


More information about the pld-cvs-commit mailing list