[libmatecomponent] add missing spec file

Dan Mashal vicodan at fedoraproject.org
Sun Aug 12 20:40:57 UTC 2012


commit aa62af04deffd5762af81acbb3ac030da2419c32
Author: Dan Mashal <dan.mashal at gmail.com>
Date:   Sun Aug 12 13:40:39 2012 -0700

    add missing spec file

 libmatecomponent.spec |   99 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 99 insertions(+), 0 deletions(-)
---
diff --git a/libmatecomponent.spec b/libmatecomponent.spec
new file mode 100644
index 0000000..76f7eef
--- /dev/null
+++ b/libmatecomponent.spec
@@ -0,0 +1,99 @@
+Name:	libmatecomponent
+Version:	1.4.0
+Release:	7%{?dist}
+Summary:	Libraries for matecomponent package of MATE-Desktop
+Group:		System Environment/Libraries
+License:	LGPLv2+ and GPLv2+
+URL:		http://vicodan.fedorapeople.org
+Source0:	http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
+
+BuildRequires:	byacc flex libxml2-devel mate-common mate-corba-devel popt-devel
+Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
+
+%description
+Libraries for matecomponent package of MATE-Desktop
+
+%package libs
+Summary:	Shared libraries for libmatecomponent
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+BuildArch:	noarch
+
+%description libs
+Shared libraries for libmatecomponent
+
+%package devel
+Summary:	Development libraries for libmatecomponent
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
+
+%description devel
+Development libraries and includes for libmatecomponent.
+
+%prep
+%setup -q
+
+%build
+NOCONFIGURE=1 ./autogen.sh
+%configure --disable-static
+make %{?_smp_mflags} V=1
+
+
+%install
+make install DESTDIR=%{buildroot}
+%find_lang %{name}
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+find %{buildroot} -name '*.a' -exec rm -f {} ';'
+
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING README
+%config(noreplace) /etc/matecomponent-activation/matecomponent-activation-config.xml
+%{_bindir}/matecomponent-activation-client
+%{_bindir}/matecomponent-activation-run-query
+%{_bindir}/matecomponent-echo-client-2
+%{_bindir}/matecomponent-slay
+%{_sbindir}/matecomponent-activation-sysconf
+%{_libexecdir}/matecomponent-activation-server
+%{_datadir}/gtk-doc/html/libmatecomponent/
+%{_datadir}/gtk-doc/html/matecomponent-activation/*
+%{_datadir}/man/man1/*
+%{_datadir}/idl/matecomponent-2.0/*
+%{_datadir}/idl/matecomponent-activation-2.0/*
+
+%files devel
+%{_libdir}/libmatecomponent-2.so
+%{_libdir}/pkgconfig/libmatecomponent-2.0.pc
+%{_libdir}/pkgconfig/matecomponent-activation-2.0.pc
+%{_libdir}/libmatecomponent-activation.so
+%{_includedir}/libmatecomponent-2.0/
+%{_includedir}/matecomponent-activation-2.0/*
+
+%files libs
+%{_libdir}/libmatecomponent-2.so.0*
+%{_libdir}/libmatecomponent-activation.so.4*
+
+
+%changelog
+* Fri Aug 10 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-7
+- Remove extra post macros that were not needed.
+
+* Fri Aug 10 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-6
+- Move shared libs to libs package and all dev files to devel package.
+
+* Fri Aug 10 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-5
+- Fix files section to own the proper directories.
+
+* Fri Aug 10 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-4
+- Clean up spec file, and bump release version.
+
+* Wed Aug 08 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-3
+- Update build requirements.
+
+* Sat Jul 14 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-2
+- Switch back to pristine source
+
+* Thu Jul 12 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-1
+-Initial build


More information about the scm-commits mailing list