Browse Source

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1343 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh 13 years ago
parent
commit
71d441540a
3 changed files with 203 additions and 11 deletions
  1. 76 0
      L/LibRaw/LibRaw-vl.spec
  2. 110 0
      lib/libg/libgexiv2/libgexiv2-vl.spec
  3. 17 11
      s/shotwell/shotwell-vl.spec

+ 76 - 0
L/LibRaw/LibRaw-vl.spec

@@ -0,0 +1,76 @@
+Summary: Library for reading RAW files obtained from digital photo cameras
+Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
+Name: LibRaw
+Version: 0.9.1
+Release: 1%{?_dist_release}
+License: LGPLv2 or CDDL
+Group: System Environment/Libraries
+URL: http://www.libraw.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
+
+# Configuration support. Patch sent upstream
+Patch0: %{name}-0.9.1-configure.patch
+# Use optflags for build
+Patch1: %{name}-0.9.1-configure-optflags.patch
+# Don't impose -O4 and -w
+Patch2: %{name}-0.9.1-configure-default-cflags.patch
+
+%description
+LibRaw is a library for reading RAW files obtained from digital photo
+cameras (CRW/CR2, NEF, RAF, DNG, and others).
+
+LibRaw is based on the source codes of the dcraw utility, where part of
+drawbacks have already been eliminated and part will be fixed in future.
+
+%package devel
+Summary: LibRaw development libraries
+Summary(ja): LibRaw の開発ライブラリ
+Group: Development/Libraries
+
+%description devel
+LibRaw development libraries
+
+This package contains static libraries that applications can use to build
+against libraw. LibRaw does not provide dynamic libraries.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%patch0 -p1 -b .configure
+%patch1 -p1 -b .configure-optflags
+%patch2 -p1 -b .configure-default-cflags
+
+%build
+# This is not the autotools generated configure script
+CFLAGS="%{optflags}" sh configure -P %{_prefix}
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+cp -pr doc manual
+
+# The source tree has these with execute permissions for some reason
+chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
+
+# The Libraries
+make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
+
+%files devel
+%defattr(-,root,root,-)
+
+%doc LICENSE.CDDL LICENSE.LibRaw.pdf LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
+%doc manual
+
+%dir %{_includedir}/libraw
+%{_includedir}/libraw/*.h
+%{_libdir}/libraw.a
+%{_libdir}/libraw_r.a
+
+%changelog
+* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1
+- initial build for VineSeed
+
+* Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
+- New package

+ 110 - 0
lib/libg/libgexiv2/libgexiv2-vl.spec

@@ -0,0 +1,110 @@
+Name:           libgexiv2
+Version:        0.1.0
+Release:        1%{?_dist_release}
+Summary:        Gexiv2 is a GObject-based wrapper around the Exiv2 library
+Summary(ja):    Exiv2 ライブラリの GObject ベースのラッパー
+
+Group:          System Environment/Libraries
+License:        GPLv2
+URL:            http://trac.yorba.org/wiki/gexiv2
+Source0:        http://yorba.org/download/gexiv2/0.0/unstable/%{name}-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+
+BuildRequires:  exiv2-devel >= 0.19
+BuildRequires:  expat-devel
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  libtool
+
+%description
+libgexiv2 is a GObject-based wrapper around the Exiv2 library.
+It makes the basic features of Exiv2 available to GNOME applications.
+
+%description -l ja
+gexiv2 は Exiv2 ライブラリの GObject ベースのラッパーです。
+Exiv2 の基本的な機能が GNOME アプリケーションで利用できるようになります。
+
+%package        devel
+Summary:        Development files for %{name}
+Summary(ja):    %{name} の開発ファイル
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       vala
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+%build
+## configure fails with the error:
+## configure: Invalid argument --program-prefix=
+## http://trac.yorba.org:8000/ticket/2001
+
+echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp
+echo 'make %{?_smp_mflags}' >>build.tmp
+sh build.tmp
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib}
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
+ 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING MAINTAINERS
+%{_libdir}/libgexiv2.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/gexiv2/
+%{_libdir}/libgexiv2.so
+%{_libdir}/pkgconfig/gexiv2.pc
+%{_datadir}/vala/vapi/gexiv2.vapi
+
+
+%changelog
+* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
+- initial build for VineSeed
+
+* Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2
+- changed file section so package owns the directory containing headers too
+
+* Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1
+- updated to latest release
+- removed patch - it was included in this release
+
+* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5
+- changed configure macro as per bug report comment
+
+* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4
+- changed configure portion
+- added Requires:  vala for devel
+- made the file section more precise
+- bugzilla #599097 
+- changed patch to include a default LIB setting
+
+* Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3
+- patched makefile
+
+* Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2
+- some fixes in spec
+- moved *.vapi to devel
+- removed INSTALL from doc
+- added comment to yorba ticket link
+- corrected typo in description
+
+* Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1
+- initial rpmbuild

+ 17 - 11
s/shotwell/shotwell-vl.spec

@@ -1,5 +1,5 @@
 Name:           shotwell
-Version:        0.5.2
+Version:        0.6.1
 Release:        1%{?_dist_release}
 Summary:        A photo organizer for the GNOME desktop
 Summary(ja):    GNOME デスクトップ向けの画像整理ソフト
@@ -14,20 +14,22 @@ Source0:        http://www.yorba.org/download/shotwell/0.4/shotwell-%{version}.t
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
-BuildRequires:  gtk2-devel
-BuildRequires:  libgudev1-devel
 BuildRequires:  GConf2-devel
-BuildRequires:  sqlite3-devel
-BuildRequires:  vala-devel
-BuildRequires:  libgee-devel
-BuildRequires:  hal-devel
-BuildRequires:  dbus-glib-devel
-BuildRequires:  unique-devel
-BuildRequires:  libexif-devel
-BuildRequires:  libgphoto2-devel
+BuildRequires:  LibRaw-devel
 BuildRequires:  WebKit-gtk-devel
+BuildRequires:  dbus-glib-devel
 BuildRequires:  desktop-file-utils
 BuildRequires:  gettext
+BuildRequires:  gtk2-devel
+BuildRequires:  hal-devel
+BuildRequires:  libexif-devel
+BuildRequires:  libgee-devel
+BuildRequires:  libgphoto2-devel
+BuildRequires:  libgudev1-devel
+BuildRequires:  libgexiv2-devel
+BuildRequires:  sqlite3-devel
+BuildRequires:  unique-devel
+BuildRequires:  vala-devel
 
 %description
 Shotwell is a new open source photo organizer designed for the GNOME desktop
@@ -104,6 +106,10 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-1
+- new upstream release
+- added BuildRequires: LibRaw-devel, libgexiv2-devel
+
 * Wed May 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1
 - new upstream release