]> git.pld-linux.org Git - packages/STLport.git/commitdiff
- initial release
authormichuz <michuz@pld-linux.org>
Wed, 10 Jan 2001 20:01:30 +0000 (20:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need to check what kind of license this is

Changed files:
    STLport.spec -> 1.1

STLport.spec [new file with mode: 0644]

diff --git a/STLport.spec b/STLport.spec
new file mode 100644 (file)
index 0000000..9d5a116
--- /dev/null
@@ -0,0 +1,88 @@
+Summary:       C++ standard library
+Summary(pl):   Biblioteki standardowe C++ 
+Name:          STLport
+Version:       4.0
+Release:       1
+Copyright:     Propably OpenSource
+Group:         Libraries
+Group(de):     Libraries
+Group(fr):     Librairies
+Group(pl):     Biblioteki
+Source:                http://www.stlport.com/archive/%{name}-%{version}.tar.gz
+Patch0:                %{name}-nodebug.patch
+URL:           http://www.stlport.org/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Implementation of C++ standard library reqiured by OpenOffice.
+
+%description -l pl
+Implementacja standradowej biblioteki C++ wymaganej przez OpenOffice.
+
+%package devel
+Summary:       STLport heades files, documentation
+Summary(pl):   Pliki nag³ówkowe i dokumentacja do STLport
+Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name}-static = %{version}
+
+%description devel
+Header files and development documentation for STLport.
+
+%description -l pl devel
+Pliki nag³ówkowe i dokumentacja dla STLport.
+
+%package static
+Summary:       Static STLport libraries
+Summary(pl):   Biblioteki statyczne do STLport
+Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static STLport libraries.
+
+%description -l pl static
+Biblioteki statyczne do STLport.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+cd src
+CXXFLAGS=%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} \
+%{__make} -f gcc.mak 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
+
+rm -fr stlport/{BC50,SC5,config,old_hp,stl,using,wrap_std}
+cp -fr stlport $RPM_BUILD_ROOT%{_includedir}
+install lib/*.a $RPM_BUILD_ROOT%{_libdir}
+install lib/*.so $RPM_BUILD_ROOT%{_libdir}
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/*
+%{_includedir}/stlport
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
This page took 0.069791 seconds and 4 git commands to generate.