[-]
[+]
|
Added |
_service:tar_git:libevent.spec
|
|
[-]
[+]
|
Deleted |
libevent.spec
^
|
@@ -1,87 +0,0 @@
-#
-# Do NOT Edit the Auto-generated Part!
-# Generated by: spectacle version 0.32
-#
-
-Name: libevent
-
-# >> macros
-# << macros
-
-Summary: Library to execute a function when a specific event occurs on a file descriptor
-Version: 2.1.12
-Release: 1
-Group: Development/Libraries
-License: BSD-3-Clause
-URL: https://libevent.org
-Source0: %{name}-%{version}-stable.tar.gz
-Source100: libevent.yaml
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-BuildRequires: pkgconfig(libssl)
-
-%description
-%{summary}.
-
-%if "%{?vendor}" == "chum"
-PackagerName: nephros
-Categories:
- - Libraries
-%endif
-
-
-%package devel
-Summary: Developmemt files for %{name}
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-
-%description devel
-%{summary}.
-
-%prep
-%setup -q -n %{name}-%{version}-stable
-
-# >> setup
-# << setup
-
-%build
-# >> build pre
-# << build pre
-
-%configure --disable-static \
- --with-gnu-ld \
- --disable-libevent-regress \
- --disable-doxygen-html
-
-make %{?_smp_mflags}
-
-# >> build post
-# << build post
-
-%install
-rm -rf %{buildroot}
-# >> install pre
-# << install pre
-%make_install
-
-# >> install post
-# << install post
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-%files
-%defattr(-,root,root,-)
-%{_bindir}/*
-%{_libdir}/*.so.*
-# >> files
-# << files
-
-%files devel
-%defattr(-,root,root,-)
-%{_includedir}/*
-%{_libdir}/*.so
-%{_libdir}/pkgconfig/*
-# >> files devel
-# << files devel
|
[-]
[+]
|
Added |
_service
^
|
@@ -0,0 +1,13 @@
+<services>
+ <service name="tar_git">
+ <param name="url">https://github.com/sailfishos-chum/libevent</param>
+ <param name="branch"></param>
+ <param name="revision">2.1.12</param>
+ <!--
+ <param name="revision">2.1.12+git1</param>
+ -->
+ <param name="token"/>
+ <param name="debian">N</param>
+ <param name="dumb">N</param>
+ </service>
+</services>
|
|
Added |
_service:tar_git:libevent-2.1.12.tar.gz
^
|
[-]
[+]
|
Added |
_service:tar_git:libevent.yaml
^
|
@@ -0,0 +1,51 @@
+Name: libevent
+Summary: Library to execute a function when a specific event occurs on a file descriptor
+Version: 2.1.12
+Group: Development/Libraries
+License: BSD-3-Clause
+Sources:
+ #- '%{name}-%{version}-stable.tar.gz'
+ - '%{name}-%{version}.tar.gz'
+URL: https://libevent.org
+SCM: https://github.com/libevent/libevent
+Description: |
+ %{summary}.
+
+ %if "%{?vendor}" == "chum"
+ Categories:
+ - Library
+ Custom:
+ PackagingRepo: https://github.com/sailfishos-chum/libevent
+ %endif
+
+SetupOptions: '-q -n %{name}-%{version}/upstream'
+ConfigOptions:
+ - '--with-gnu-ld'
+ - '--disable-libevent-regress'
+ - '--disable-doxygen-html'
+
+#Requires:
+# - ^^^
+PkgBR:
+ - autoconf
+ - automake
+ - libtool
+PkgConfigBR:
+ - libssl
+
+Files:
+ - '%{_bindir}/*'
+ - '%{_libdir}/*.so.*'
+SubPackages:
+# - Name: doc
+# Summary: Documentation files for %{name}
+# Group: Development/Libraries
+# Files:
+# - '%{_mandir}/*/*'
+ - Name: devel
+ Summary: Developmemt files for %{name}
+ Group: Development/Libraries
+ Files:
+ - '%{_includedir}/*'
+ - '%{_libdir}/*.so'
+ - '%{_libdir}/pkgconfig/*'
|
|
Deleted |
libevent-2.1.12-stable.tar.gz
^
|
[-]
[+]
|
Deleted |
libevent.yaml
^
|
@@ -1,46 +0,0 @@
-Name: libevent
-Summary: Library to execute a function when a specific event occurs on a file descriptor
-Version: 2.1.12
-Group: Development/Libraries
-License: BSD-3-Clause
-Sources:
- - '%{name}-%{version}-stable.tar.gz'
-URL: https://libevent.org
-Description: |
- %{summary}.
-
- %if "%{?vendor}" == "chum"
- PackagerName: nephros
- Categories:
- - Libraries
- %endif
-
-SetupOptions: '-q -n %{name}-%{version}-stable'
-ConfigOptions:
- - '--with-gnu-ld'
- - '--disable-libevent-regress'
- - '--disable-doxygen-html'
-
-#Requires:
-# - ^^^
-#PkgBR:
-# - ^^^
-PkgConfigBR:
- - libssl
-
-Files:
- - '%{_bindir}/*'
- - '%{_libdir}/*.so.*'
-SubPackages:
-# - Name: doc
-# Summary: Documentation files for %{name}
-# Group: Development/Libraries
-# Files:
-# - '%{_mandir}/*/*'
- - Name: devel
- Summary: Developmemt files for %{name}
- Group: Development/Libraries
- Files:
- - '%{_includedir}/*'
- - '%{_libdir}/*.so'
- - '%{_libdir}/pkgconfig/*'
|