]> git.pld-linux.org Git - packages/soprano.git/commitdiff
- initial
authorshadzik <shadzik@pld-linux.org>
Sat, 2 Jun 2007 14:47:29 +0000 (14:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    soprano.spec -> 1.1

soprano.spec [new file with mode: 0644]

diff --git a/soprano.spec b/soprano.spec
new file mode 100644 (file)
index 0000000..c44dda2
--- /dev/null
@@ -0,0 +1,77 @@
+#
+# TODO:
+# - pl
+#
+Summary:       soprano
+#Summary(pl.UTF-8):    soprano
+Name:          soprano
+Version:       20070602
+Release:       1
+License:       GPL
+Group:         X11/Applications
+Source0:       %{name}-%{version}.tar.bz2
+# Source0-md5: 8785c5166b4c36bba29eb943c558c51d
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: cmake
+BuildRequires: qt4-build
+BuildRequires: qt4-qmake
+BuildRequires: redland-devel
+BuildRequires: rpmbuild(macros) >= 1.129
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Soprano.
+
+#%description -l pl.UTF-8
+
+%package devel
+Summary:       Header files for soprano
+Summary(pl.UTF-8):     Pliki nagłówkowe dla soprano
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for soprano.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla soprano.
+
+%prep
+%setup -q -n %{name}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+       -DQT_QMAKE_EXECUTABLE=%{_bindir}/qt4-qmake \
+%if "%{_lib}" == "lib64"
+       -DLIB_SUFFIX=64 \
+%endif
+       ../
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd build
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so*
+%dir %{_libdir}/soprano
+%attr(755,root,root) %{_libdir}/soprano/*.so
+
+%files devel
+%defattr(644,root,root,755)
+%dir %{_includedir}/soprano
+%{_includedir}/soprano/*.h
This page took 0.033531 seconds and 4 git commands to generate.