packages: m17n-im-config/m17n-im-config.spec (NEW) - initial revision

baggins baggins at pld-linux.org
Wed Jul 13 13:52:28 CEST 2011


Author: baggins                      Date: Wed Jul 13 11:52:28 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
packages/m17n-im-config:
   m17n-im-config.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/m17n-im-config/m17n-im-config.spec
diff -u /dev/null packages/m17n-im-config/m17n-im-config.spec:1.1
--- /dev/null	Wed Jul 13 13:52:28 2011
+++ packages/m17n-im-config/m17n-im-config.spec	Wed Jul 13 13:52:23 2011
@@ -0,0 +1,97 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+#
+Summary:	-
+Summary(pl.UTF-8):	-
+Name:		m17n-im-config
+Version:	0.9.0
+Release:	0.1
+License:	GPL
+Group:		Libraries
+Source0:	http://www.m17n.org/m17n-lib-download/%{name}-%{version}.tar.gz
+# Source0-md5:	dfb1812d604c5b2392ebb7e47034c3f9
+URL:		http://www.m17n.org/
+BuildRequires:	gtk+2-devel
+BuildRequires:	m17n-lib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+#%description -l pl.UTF-8
+
+%package devel
+Summary:	Header files for FOO library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki FOO
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for FOO library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki FOO.
+
+%package static
+Summary:	Static FOO library
+Summary(pl.UTF-8):	Statyczna biblioteka FOO
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static FOO library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka FOO.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	%{!?with_static_libs:--disable-static}
+%{__make} -j1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -j1 install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang m17n-im-config
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files -f m17n-im-config.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/libm17n-im-config.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libm17n-im-config.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libm17n-im-config.so
+%{_includedir}/m17n-im-config.h
+%{_pkgconfigdir}/m17n-im-config.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libm17n-im-config.a
+%endif
+
+%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  2011/07/13 11:52:23  baggins
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list