SPECS: mythes.spec - created -devel, -static

glen glen at pld-linux.org
Sun Mar 18 00:56:18 CET 2007


Author: glen                         Date: Sat Mar 17 23:56:18 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- created -devel, -static

---- Files affected:
SPECS:
   mythes.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/mythes.spec
diff -u SPECS/mythes.spec:1.1 SPECS/mythes.spec:1.2
--- SPECS/mythes.spec:1.1	Sun Mar 18 00:51:55 2007
+++ SPECS/mythes.spec	Sun Mar 18 00:56:13 2007
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO
+# - shared lib
 Summary:	MyThes thesaurus
 Name:		mythes
 Version:	1.0
@@ -19,6 +21,22 @@
 MyThes was written to provide a thesaurus for the OpenOffice.org
 project
 
+%package devel
+Summary:	Header files for MyThes library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for MyThes library.
+
+%package static
+Summary:	Static MyThes library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static MyThes library.
+
 %prep
 %setup -q -n MyThes-%{version}
 %patch0 -p1
@@ -33,6 +51,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
+install mythes.hxx $RPM_BUILD_ROOT%{_includedir}
+install libmythes.a $RPM_BUILD_ROOT%{_libdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -41,12 +62,22 @@
 %defattr(644,root,root,755)
 %doc README data_layout.txt
 
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/mythes.hxx
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libmythes.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.2  2007/03/17 23:56:13  glen
+- created -devel, -static
+
 Revision 1.1  2007/03/17 23:51:55  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mythes.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list